summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2015-07-07 00:04:15 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2015-07-07 00:04:15 +0200
commit93ca62a321c39a0d21d9914d23dd65b5e9fe88c7 (patch)
treeee3c164bbd28bddb562c48a90d6872b888357466
parenta1b1ff8e91ba209d3a48832e72f00c7bb9bc0a56 (diff)
downloadftr-site-config-93ca62a321c39a0d21d9914d23dd65b5e9fe88c7.tar.gz
ftr-site-config-93ca62a321c39a0d21d9914d23dd65b5e9fe88c7.zip
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-
-rw-r--r--theregister.co.uk.txt15
1 files 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/