diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-06 10:13:03 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-06 10:13:03 +0100 |
commit | ac4d114214d820b20e18518a2dbc809337e39043 (patch) | |
tree | 27886128ef949b7f8dd174b0646b5a4d99883b44 /inc/3rdparty/site_config/standard/wired.com.txt | |
parent | d5501950e2470d52f6bf5954d2179010cdee0475 (diff) | |
download | wallabag-ac4d114214d820b20e18518a2dbc809337e39043.tar.gz wallabag-ac4d114214d820b20e18518a2dbc809337e39043.tar.zst wallabag-ac4d114214d820b20e18518a2dbc809337e39043.zip |
[add] new specific configuration files
Diffstat (limited to 'inc/3rdparty/site_config/standard/wired.com.txt')
-rw-r--r-- | inc/3rdparty/site_config/standard/wired.com.txt | 22 |
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 @@ | |||
1 | title: //meta[@property="og:title"]/@content | ||
2 | title: //h1 | ||
3 | title: //*[@class='posttitle'] | ||
4 | author: //*[@class='entryAuthor']/a[1] | ||
5 | author://*[@class='member-title'] | ||
6 | author://li[@class='author']/a[contains(@href, '/author/')] | ||
7 | date: substring-after(//div[@class='entryAuthor'], '·') | ||
8 | date: substring-before(//*[@class='entryDate'], '|') | ||
9 | body: //div[@class='entry'] | ||
10 | strip: //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 | |||
14 | strip: //p[span[contains(@class, 'contentjump')]] | ||
15 | strip: //text()[contains(., 'nextpage')] | ||
16 | |||
17 | prune: no | ||
18 | |||
19 | single_page_link: //a[contains(@href, '/all/1') and contains(@class, 'contentjumpall')] | ||
20 | |||
21 | test_url: http://www.wired.com/cloudline/2011/10/meet-arms-cortex-a15-the-future-of-the-ipad-and-possibly-the-macbook-air/ | ||
22 | test_url: http://www.wired.com/threatlevel/2012/05/ff_counterfeiter/all/1 \ No newline at end of file | ||