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/healthland.time.com.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 inc/3rdparty/site_config/standard/healthland.time.com.txt (limited to 'inc/3rdparty/site_config/standard/healthland.time.com.txt') diff --git a/inc/3rdparty/site_config/standard/healthland.time.com.txt b/inc/3rdparty/site_config/standard/healthland.time.com.txt new file mode 100644 index 00000000..204d8da0 --- /dev/null +++ b/inc/3rdparty/site_config/standard/healthland.time.com.txt @@ -0,0 +1,10 @@ +date: //span[@class = 'date'] +body: //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'] + +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 -- cgit v1.2.3