From 93ca62a321c39a0d21d9914d23dd65b5e9fe88c7 Mon Sep 17 00:00:00 2001 From: "FiveFilters.org" Date: Tue, 7 Jul 2015 00:04:15 +0200 Subject: Update theregister.co.uk.txt Fixes suggested by David http://help.fivefilters.org/customer/portal/questions/12927788-combining-two-xpaths-in-body-site-configuration-for-theregister-co-uk- --- theregister.co.uk.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/theregister.co.uk.txt b/theregister.co.uk.txt index 5d30230..70d3d43 100644 --- a/theregister.co.uk.txt +++ b/theregister.co.uk.txt @@ -1,8 +1,9 @@ -# Updated 25-Jan-2014 -single_page_link: //a[contains(@href, '/Print/')] +single_page_link: //link[contains(@href, 'm.theregister')] +if_page_contains: //div[@id='nextpage'] +strip: //div[@class='wptl btm'] +body: //div[contains(@class,'article_head')]//h2 | //div[@id='body'] -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/ +#multipage +test_url: http://www.theregister.co.uk/2015/07/06/geeks_guide_spaceguard_center/ +#singlepage +test_url: http://www.theregister.co.uk/2015/07/06/us_japan_massive_robots_in_the_ring/ -- cgit v1.3.1