diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-23 13:44:48 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-23 13:44:48 +0200 |
commit | 887b015def3098f1e898e7bf3338fa2d093b6d95 (patch) | |
tree | 41206132200aa9390e11d600ad2b84ffa23242e4 /inc/3rdparty/site_config/standard/slate.com.txt | |
parent | ebd6bf6007e0fad4c3e11dac0e79f687e1d195a2 (diff) | |
parent | 505a74ad1de7cf2cd3605e793233365501f03d87 (diff) | |
download | wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.tar.gz wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.tar.zst wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.zip |
Merge branch 'refactor' into dev
Diffstat (limited to 'inc/3rdparty/site_config/standard/slate.com.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/slate.com.txt | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/inc/3rdparty/site_config/standard/slate.com.txt b/inc/3rdparty/site_config/standard/slate.com.txt index e92f6a06..d5798e01 100644..100755 --- a/inc/3rdparty/site_config/standard/slate.com.txt +++ b/inc/3rdparty/site_config/standard/slate.com.txt | |||
@@ -1,19 +1,19 @@ | |||
1 | title: //h1[@class="sl-art-head-dek"] | 1 | title: //h1[@class="sl-art-head-dek"] |
2 | body: //article//div[@class='sl-art-body']/div[contains(@class, 'body')] | 2 | body: //article//div[@class='sl-art-body']/div[contains(@class, 'body')] |
3 | strip: //div[@class="department_kicker"] | 3 | strip: //div[@class="department_kicker"] |
4 | strip: //div[@id="insider_ad_wrapper" or @id="insider_ad_inner"] | 4 | strip: //div[@id="insider_ad_wrapper" or @id="insider_ad_inner"] |
5 | strip: //div[@id="bottom_sponsored_links"] | 5 | strip: //div[@id="bottom_sponsored_links"] |
6 | strip: //div[@class="sl-art-ad-midflex"] | 6 | strip: //div[@class="sl-art-ad-midflex"] |
7 | #strip: //dl | 7 | #strip: //dl |
8 | #strip: //p[em/a[contains(@href, 'facebook.com')]] | 8 | #strip: //p[em/a[contains(@href, 'facebook.com')]] |
9 | prune: no | 9 | prune: no |
10 | 10 | ||
11 | author: //div[@id='author_bio']//a[contains(@href, '/author/')] | 11 | author: //div[@id='author_bio']//a[contains(@href, '/author/')] |
12 | author: //a[contains(@href, '/authors.')] | 12 | author: //a[contains(@href, '/authors.')] |
13 | 13 | ||
14 | date: substring-before(substring-after(//span[@class='sl-art-byline'], 'Posted '), ', at ') | 14 | date: substring-before(substring-after(//span[@class='sl-art-byline'], 'Posted '), ', at ') |
15 | 15 | ||
16 | single_page_link: //a[@class='sl-art-sinpage'] | 16 | single_page_link: //a[@class='sl-art-sinpage'] |
17 | 17 | ||
18 | test_url: http://www.slate.com/id/2274583/pagenum/all/ | 18 | test_url: http://www.slate.com/id/2274583/pagenum/all/ |
19 | test_url: http://www.slate.com/id/2293116/ \ No newline at end of file | 19 | test_url: http://www.slate.com/id/2293116/ \ No newline at end of file |