aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/wired.com.txt
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-12-23 02:28:56 -0800
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-12-23 02:28:56 -0800
commit60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2 (patch)
tree515c4b9c8286ae363f77722c91acb878151dc386 /inc/3rdparty/site_config/standard/wired.com.txt
parentcbfd5a1019f47fadefd8490dae9f039ae894298d (diff)
parentda5fc42f615eeb45a702604970f94967507fb432 (diff)
downloadwallabag-60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2.tar.gz
wallabag-60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2.tar.zst
wallabag-60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2.zip
Merge pull request #363 from inthepoche/dev1.3.0
poche 1.3.0
Diffstat (limited to 'inc/3rdparty/site_config/standard/wired.com.txt')
-rw-r--r--inc/3rdparty/site_config/standard/wired.com.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/wired.com.txt b/inc/3rdparty/site_config/standard/wired.com.txt
new file mode 100644
index 00000000..69bbf5b7
--- /dev/null
+++ b/inc/3rdparty/site_config/standard/wired.com.txt
@@ -0,0 +1,22 @@
1title: //meta[@property="og:title"]/@content
2title: //h1
3title: //*[@class='posttitle']
4author: //*[@class='entryAuthor']/a[1]
5author://*[@class='member-title']
6author://li[@class='author']/a[contains(@href, '/author/')]
7date: substring-after(//div[@class='entryAuthor'], '·')
8date: substring-before(//*[@class='entryDate'], '|')
9body: //div[@class='entry']
10strip: //span[contains(@class, 'nextprev')]
11#strip_id_or_class: ngg-galleryoverview
12# ngg-galleryoverview is the whole content sometimes, e.g. http://www.wired.com/underwire/2011/12/best-mixtapes-of-2011/?pid=5736&viewall=true
13
14strip: //p[span[contains(@class, 'contentjump')]]
15strip: //text()[contains(., 'nextpage')]
16
17prune: no
18
19single_page_link: //a[contains(@href, '/all/1') and contains(@class, 'contentjumpall')]
20
21test_url: http://www.wired.com/cloudline/2011/10/meet-arms-cortex-a15-the-future-of-the-ipad-and-possibly-the-macbook-air/
22test_url: http://www.wired.com/threatlevel/2012/05/ff_counterfeiter/all/1 \ No newline at end of file