summaryrefslogtreecommitdiff
path: root/wired.com.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2013-09-10 15:38:43 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2013-09-10 15:38:43 +0200
commita0aa1088879be5eb254bb1846df80dd447816192 (patch)
treef8adc41ca635945a1a4b3126f0f4c2bdb109da61 /wired.com.txt
parent6bdae2b1e0bd76282e4deb7d07afda9a4dd6ba1a (diff)
downloadftr-site-config-a0aa1088879be5eb254bb1846df80dd447816192.tar.gz
ftr-site-config-a0aa1088879be5eb254bb1846df80dd447816192.zip
wired.com
Diffstat (limited to 'wired.com.txt')
-rw-r--r--wired.com.txt29
1 files changed, 14 insertions, 15 deletions
diff --git a/wired.com.txt b/wired.com.txt
index 43e2b9c..e06ad0e 100644
--- a/wired.com.txt
+++ b/wired.com.txt
@@ -1,22 +1,21 @@
-title: //meta[@property="og:title"]/@content
-title: //h1
-title: //*[@class='posttitle']
-author: //*[@class='entryAuthor']/a[1]
-author://*[@class='member-title']
-author://li[@class='author']/a[contains(@href, '/author/')]
-date: substring-after(//div[@class='entryAuthor'], '·')
-date: substring-before(//*[@class='entryDate'], '|')
+title: //meta[@name='Title']/@content
+author: //meta[@name='Author']/@content
+date: //meta[@name='DisplayDate']/@content
body: //div[@class='entry']
-strip: //span[contains(@class, 'nextprev')]
-#strip_id_or_class: ngg-galleryoverview
-# ngg-galleryoverview is the whole content sometimes, e.g. http://www.wired.com/underwire/2011/12/best-mixtapes-of-2011/?pid=5736&viewall=true
+strip: //p[contains(., 'Pages:') and contains(., 'View All')]
-strip: //p[span[contains(@class, 'contentjump')]]
-strip: //text()[contains(., 'nextpage')]
+strip_id_or_class: pullquote
+strip_id_or_class: left_rail
+
+# Remove gallery?
+strip_id_or_class: wpgallery
+
+#strip: //text()[contains(., 'nextpage')]
prune: no
-single_page_link: //a[contains(@href, '/all/1') and contains(@class, 'contentjumpall')]
+single_page_link: //a[.='View All' and contains(@href, '/all/')]
test_url: http://www.wired.com/cloudline/2011/10/meet-arms-cortex-a15-the-future-of-the-ipad-and-possibly-the-macbook-air/
-test_url: http://www.wired.com/threatlevel/2012/05/ff_counterfeiter/all/1 \ No newline at end of file
+test_url: http://www.wired.com/wiredenterprise/2013/09/docker/
+test_url: http://www.wired.com/threatlevel/2012/05/ff_counterfeiter/all/ \ No newline at end of file