summaryrefslogtreecommitdiff
path: root/polygon.com.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2013-08-23 01:02:22 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2013-08-23 01:02:22 +0200
commit6d0156d88b4b0aff1d3ece21979d0044dea19a46 (patch)
tree72714e9e69952d78384dcf572271a1f666449601 /polygon.com.txt
parent7c7f00c94969784322943c937a8af25efb9a61da (diff)
downloadftr-site-config-6d0156d88b4b0aff1d3ece21979d0044dea19a46.tar.gz
ftr-site-config-6d0156d88b4b0aff1d3ece21979d0044dea19a46.zip
polygon.com
Diffstat (limited to 'polygon.com.txt')
-rw-r--r--polygon.com.txt30
1 files changed, 29 insertions, 1 deletions
diff --git a/polygon.com.txt b/polygon.com.txt
index a561c67..8fe9b1b 100644
--- a/polygon.com.txt
+++ b/polygon.com.txt
@@ -1,6 +1,34 @@
+body: //div[@id='article-content']
body: //article[@id='entry-top']/div[@class='float_wrapper']
author: //header/p[@class='byline']/em/a
date: //header/p[@class='byline']/span[@class='timestamp']
+strip: //div[@id='article-content']//header
+strip: //label
+
+#photos on left column (delete all)
+strip: //div[@class='big_photo']
+
+#photos on left column (remove extras used for scroll effect)
+#strip: //div[@class='big_photo']/div[./img]
+#strip: //div[@class='big_photo']/img[position()>1]
+
+strip_id_or_class: vox-lazy-load
+strip_id_or_class: social_buttons
+strip_id_or_class: feature_toc
+
+prune: no
+
+find_string: <noscript>
+replace_string: <div>
+find_string: </noscript>
+replace_string: </div>
+
+#find_string: <script
+#replace_string: <div style="display:none"
+#find_string: </script>
+#replace_string: </div>
+
strip: //div[@class='float_wrapper']/header
-test_url: http://www.polygon.com/2013/4/5/4189028/donkey-kong-country-returns-3d-new-content \ No newline at end of file
+test_url: http://www.polygon.com/2013/4/5/4189028/donkey-kong-country-returns-3d-new-content
+test_url: http://www.polygon.com/features/2013/8/22/4602568/30-years-xbox-360-playstation-3-wii \ No newline at end of file