summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbc.co.uk.txt6
-rw-r--r--bbc.com.txt6
-rw-r--r--m.bbc.co.uk.txt6
3 files changed, 18 insertions, 0 deletions
diff --git a/bbc.co.uk.txt b/bbc.co.uk.txt
index bad7765..7bef73a 100644
--- a/bbc.co.uk.txt
+++ b/bbc.co.uk.txt
@@ -30,6 +30,12 @@ strip: //div[contains(@class, 'comment-introduction')]
strip: //div[contains(@class, 'share-tools')]
strip: //div[@id='also-related-links']
+find_string: http://ichef.bbci.co.uk/news/200/
+replace_string: http://ichef.bbci.co.uk/news/624/
+
+find_string: http://ichef.bbci.co.uk/news/304/
+replace_string: http://ichef.bbci.co.uk/news/624/
+
strip_id_or_class: share-help
strip_id_or_class: comments_module
diff --git a/bbc.com.txt b/bbc.com.txt
index c04a683..200dba6 100644
--- a/bbc.com.txt
+++ b/bbc.com.txt
@@ -33,6 +33,12 @@ strip: //div[@id='also-related-links']
strip_id_or_class: share-help
strip_id_or_class: comments_module
+find_string: http://ichef.bbci.co.uk/news/200/
+replace_string: http://ichef.bbci.co.uk/news/624/
+
+find_string: http://ichef.bbci.co.uk/news/304/
+replace_string: http://ichef.bbci.co.uk/news/624/
+
replace_string(<noscript>): <div>
replace_string(</noscript>): </div>
diff --git a/m.bbc.co.uk.txt b/m.bbc.co.uk.txt
index d1ff0b4..7037c64 100644
--- a/m.bbc.co.uk.txt
+++ b/m.bbc.co.uk.txt
@@ -3,6 +3,12 @@ body: //div[@class="story-body"]
date: //p[@class='date']/strong
author: substring-after(//div[@class="story-inner"]/div[@class="byline"]//span[@class='name'], 'By')
+find_string: http://ichef.bbci.co.uk/news/200/
+replace_string: http://ichef.bbci.co.uk/news/624/
+
+find_string: http://ichef.bbci.co.uk/news/304/
+replace_string: http://ichef.bbci.co.uk/news/624/
+
strip: //div[@class="story-inner"]/div[@class="byline"]
test_url: http://m.bbc.co.uk/news/science-environment-19144464 \ No newline at end of file