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/arstechnica.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/arstechnica.com.txt')
-rw-r--r-- | inc/3rdparty/site_config/standard/arstechnica.com.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/arstechnica.com.txt b/inc/3rdparty/site_config/standard/arstechnica.com.txt new file mode 100644 index 00000000..49bb3dbc --- /dev/null +++ b/inc/3rdparty/site_config/standard/arstechnica.com.txt | |||
@@ -0,0 +1,16 @@ | |||
1 | author: //p[@class='byline']/a | ||
2 | body: //div[contains(@class,'article-content')] | ||
3 | strip: //h2[@class='title'] | ||
4 | strip_id_or_class: byline | ||
5 | prune: no | ||
6 | |||
7 | date: //div[@class='byline']/span[@class='posted']//abbr/@original-title | ||
8 | date: //div[@class='byline']/span[@class='posted']//abbr | ||
9 | |||
10 | title: //div[@id='story']//h2[@class='title'] | ||
11 | |||
12 | strip: //div[@class='pager'] | ||
13 | next_page_link: //nav//a[span/@class='next']/@href | ||
14 | |||
15 | test_url: http://arstechnica.com/tech-policy/news/2012/02/gigabit-internet-for-80-the-unlikely-success-of-californias-sonicnet.ars | ||
16 | test_url: http://arstechnica.com/apple/2005/04/macosx-10-4/ \ No newline at end of file | ||