From 4e067ceabd705201a16b4c92cf4b23f3b990326c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 13 Jul 2014 10:15:40 +0200 Subject: updated specific configuration for parsing --- inc/3rdparty/site_config/standard/theregister.co.uk.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) mode change 100644 => 100755 inc/3rdparty/site_config/standard/theregister.co.uk.txt (limited to 'inc/3rdparty/site_config/standard/theregister.co.uk.txt') diff --git a/inc/3rdparty/site_config/standard/theregister.co.uk.txt b/inc/3rdparty/site_config/standard/theregister.co.uk.txt old mode 100644 new mode 100755 index ebcc55d5..5d30230d --- a/inc/3rdparty/site_config/standard/theregister.co.uk.txt +++ b/inc/3rdparty/site_config/standard/theregister.co.uk.txt @@ -1,5 +1,8 @@ -title: //div[@id="article"]/h2 -author: //div[@id="article"]/p[@class="byline"]/a[1] -date: //div[@id="article"]/p[@class="dateline"]/a[2] -body: //div[@id="article"]/div[@id="body"] -test_url: http://www.theregister.co.uk/2011/10/06/gas_bill_shocker/ \ No newline at end of file +# Updated 25-Jan-2014 +single_page_link: //a[contains(@href, '/Print/')] + +title: //div[@id="article"]/h2 +author: //p[@class="byline"]/a +date: //p[@class="dateline"]/a[last()] + +test_url: http://www.theregister.co.uk/2014/01/24/thirty_years_of_the_apple_macintosh_part_2/ -- cgit v1.2.3