summaryrefslogtreecommitdiff
path: root/wired.com.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2013-02-27 23:43:10 +0100
committerFiveFilters.org <fivefilters@fivefilters.org>2013-02-27 23:43:10 +0100
commit9a69161c8646f63b4d9fa17c6ac3ab922d625859 (patch)
tree62a446347e1279f00383fdd7f9637cfd58a50879 /wired.com.txt
downloadftr-site-config-9a69161c8646f63b4d9fa17c6ac3ab922d625859.tar.gz
ftr-site-config-9a69161c8646f63b4d9fa17c6ac3ab922d625859.zip
Initial commit
Diffstat (limited to 'wired.com.txt')
-rw-r--r--wired.com.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/wired.com.txt b/wired.com.txt
new file mode 100644
index 0000000..43e2b9c
--- /dev/null
+++ b/wired.com.txt
@@ -0,0 +1,22 @@
+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'], '|')
+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[span[contains(@class, 'contentjump')]]
+strip: //text()[contains(., 'nextpage')]
+
+prune: no
+
+single_page_link: //a[contains(@href, '/all/1') and contains(@class, 'contentjumpall')]
+
+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