summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2015-05-29 16:19:13 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2015-05-29 16:19:13 +0200
commit498d3de2390a6a937941eb937caebb63ba112d05 (patch)
tree0d8e0d1569825b94acaedccc5e03e69abfa818c0
parent82099bd04f96d1dfd8d5ac2f93f8b854e14bc500 (diff)
downloadftr-site-config-498d3de2390a6a937941eb937caebb63ba112d05.tar.gz
ftr-site-config-498d3de2390a6a937941eb937caebb63ba112d05.zip
BBC image size issue (bbc.co.uk, bbc.com, m.bbc.co.uk)
-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