summaryrefslogtreecommitdiff
path: root/.time.com.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2013-09-18 00:13:57 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2013-09-18 00:13:57 +0200
commit19c0d2afecf1ccee64b7999e54cf3f19dc51d2b7 (patch)
treef8be997d1c64dc4eb484c457eb533d86e763ba7b /.time.com.txt
parentb862b2b7a84d8986d0c808673b7c41be32baed5f (diff)
downloadftr-site-config-19c0d2afecf1ccee64b7999e54cf3f19dc51d2b7.tar.gz
ftr-site-config-19c0d2afecf1ccee64b7999e54cf3f19dc51d2b7.zip
time.com
Diffstat (limited to '.time.com.txt')
-rw-r--r--.time.com.txt31
1 files changed, 23 insertions, 8 deletions
diff --git a/.time.com.txt b/.time.com.txt
index f5d5c14..40ee26f 100644
--- a/.time.com.txt
+++ b/.time.com.txt
@@ -1,11 +1,26 @@
+date: //meta[@name='date']/@content
+author: //meta[@name='byline']/@content
date: //span[@class = 'date']
-body: //div[starts-with(@id, 'post-')]//div[@class = 'entry-content']
-strip://div[@class='more-ways']
-strip://div[@id = 'stayConnected']
-strip://p[child::a[@rel = 'bookmark']]
-strip://p[starts-with(string(.),'(MORE:')]
-strip://p[starts-with(string(.),'(PHOTOS:')]
-move_into(//p[../@class = 'entry-content'][position() = last()])://div[@id = 'featbox']
+title: //div[@id='print']//h1
+title: //h1[@class="entry-title"]
+body: //article//div[contains(@class,'entry-content')]
+strip: //div[@class='more-ways']
+strip: //div[@id = 'stayConnected']
+strip: //p[child::a[@rel = 'bookmark']]
+strip: //p[starts-with(string(.),'(MORE:')]
+strip: //p[starts-with(string(.),'(PHOTOS:')]
+strip: //aside
+#move_into(//p[../@class = 'entry-content'][position() = last()])://div[@id = 'featbox']
prune: no
-test_url: http://healthland.time.com/2011/07/24/amy-winehouse-and-the-pain-of-addiction/?preview=true&preview_id=39210&preview_nonce=0777d4e408 \ No newline at end of file
+replace_string(<noscript>): <div>
+replace_string(</noscript>): </div>
+
+
+strip: //div[@id='print']//div[contains(@class, 'thumbnail')]
+
+single_page_link: //footer//a[contains(@href, '/printout/')]
+
+test_url: http://content.time.com/time/specials/packages/article/0,28804,2094921_2094923_2094924,00.html
+test_url: http://healthland.time.com/2011/07/24/amy-winehouse-and-the-pain-of-addiction/
+test_url: http://nation.time.com/2013/09/17/navy-yard-shooter-had-been-treated-for-mental-health-problems/ \ No newline at end of file