summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortimgws <tim@timg.ws>2013-05-29 10:48:27 +1000
committertimgws <tim@timg.ws>2013-05-29 10:48:27 +1000
commit585c9f4246f69c24ee1f86634e5aa4a852e87c6b (patch)
tree75adaee250e340147b1d577f66948f4bc3697c29
parentd7f33afb4159932270d43de163257dcf8df438d3 (diff)
downloadftr-site-config-585c9f4246f69c24ee1f86634e5aa4a852e87c6b.tar.gz
ftr-site-config-585c9f4246f69c24ee1f86634e5aa4a852e87c6b.zip
Update huffingtonpost.com.txt
Remove the "contribute to this story: text, also remove an additional ad that slips through on some articles.
-rw-r--r--huffingtonpost.com.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/huffingtonpost.com.txt b/huffingtonpost.com.txt
index fb990a7..d4618c1 100644
--- a/huffingtonpost.com.txt
+++ b/huffingtonpost.com.txt
@@ -3,14 +3,19 @@ body: //div[img[starts-with(@id, 'img_caption')]] | //div[@class="big_photo"] |
date: //meta[@name="publish_date"]/@content
author: //a[@rel="author"]
author: //meta[@name="author"]/@content
+
prune: no
tidy: no
+
strip: //footer
strip_id_or_class: ps-slideshow
strip_id_or_class: fs-slideshow
strip: //p[contains(., 'Related on HuffPost:')]
+strip_id_or_class: contribute-story
+strip_id_or_class: promo_holder
+
# end early
replace_string(<div class="sbm-main): </body></html><div class="not-interested
test_url: http://www.huffingtonpost.com/mitch-moxley/tracking-beijings-boom-th_b_1209828.html
-test_url: http://www.huffingtonpost.com/2012/09/11/president-obama-iphone-throwdown_n_1873826.html \ No newline at end of file
+test_url: http://www.huffingtonpost.com/2012/09/11/president-obama-iphone-throwdown_n_1873826.html