From 19c0d2afecf1ccee64b7999e54cf3f19dc51d2b7 Mon Sep 17 00:00:00 2001 From: "FiveFilters.org" Date: Wed, 18 Sep 2013 00:13:57 +0200 Subject: time.com --- .time.com.txt | 31 +++++++++++++++++++++++-------- healthland.time.com.txt | 10 ---------- time.com.txt | 14 -------------- 3 files changed, 23 insertions(+), 32 deletions(-) delete mode 100644 healthland.time.com.txt delete mode 100644 time.com.txt 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(