From ac4d114214d820b20e18518a2dbc809337e39043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 6 Dec 2013 10:13:03 +0100 Subject: [add] new specific configuration files --- inc/3rdparty/site_config/standard/psychologytoday.com.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 inc/3rdparty/site_config/standard/psychologytoday.com.txt (limited to 'inc/3rdparty/site_config/standard/psychologytoday.com.txt') diff --git a/inc/3rdparty/site_config/standard/psychologytoday.com.txt b/inc/3rdparty/site_config/standard/psychologytoday.com.txt new file mode 100644 index 00000000..3da3cea3 --- /dev/null +++ b/inc/3rdparty/site_config/standard/psychologytoday.com.txt @@ -0,0 +1,9 @@ +title: //div[@class="page-title"]/h1 +author: //a[@title="View Bio"] +date: substring-before(substring-after(//span[@class="submitted"], 'Published on '), ' by') +strip://div[@class="page-title"]/h1 +strip://div[@class="article-abstract"] +strip://div[@class="article-meta"] +strip://div[@id="rightColumn"] +strip://div[@id="inline-content-bottom-left"] +test_url: http://www.psychologytoday.com/blog/how-happiness/201205/my-quibble-facebook \ No newline at end of file -- cgit v1.2.3