diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-01 21:20:43 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-01 21:20:43 +0200 |
commit | 3bb6a8ed2ab40b17d3f3b9925664c8da38ea2570 (patch) | |
tree | a5246151bf8278a0e8053b9dd1ce9d770073c50b /inc/3rdparty/site_config/standard/washingtonpost.com.txt | |
parent | 7efe6a03d5431efe9e217c6129cfd93e6acb94d2 (diff) | |
download | wallabag-3bb6a8ed2ab40b17d3f3b9925664c8da38ea2570.tar.gz wallabag-3bb6a8ed2ab40b17d3f3b9925664c8da38ea2570.tar.zst wallabag-3bb6a8ed2ab40b17d3f3b9925664c8da38ea2570.zip |
update config from @fivefilters
Diffstat (limited to 'inc/3rdparty/site_config/standard/washingtonpost.com.txt')
-rwxr-xr-x | inc/3rdparty/site_config/standard/washingtonpost.com.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/washingtonpost.com.txt b/inc/3rdparty/site_config/standard/washingtonpost.com.txt index 0aa9f1d8..c29af00f 100755 --- a/inc/3rdparty/site_config/standard/washingtonpost.com.txt +++ b/inc/3rdparty/site_config/standard/washingtonpost.com.txt | |||
@@ -5,9 +5,14 @@ body: //div[contains(@class, "article_body")] | |||
5 | body: //div[@id='print_facet']//div[@id='body'] | 5 | body: //div[@id='print_facet']//div[@id='body'] |
6 | 6 | ||
7 | author://meta[@name='DC.creator']/@content | 7 | author://meta[@name='DC.creator']/@content |
8 | author://span[@class="pb-byline"] | ||
9 | author://h3[@property='dc.creator']//a[@rel='author'] | ||
8 | title://meta[@name='title']/@content | 10 | title://meta[@name='title']/@content |
9 | date://div[contains(@class,'byline')]//span[contains(@class,'published')]/@title | 11 | date://div[contains(@class,'byline')]//span[contains(@class,'published')]/@title |
10 | date://meta[@name="DC.date.issued"]/@content | 12 | date://meta[@name="DC.date.issued"]/@content |
13 | date://span[contains(@class,"pb-timestamp")] | ||
14 | date://meta[@name="eomportal-lastUpdate"]/@content | ||
15 | |||
11 | strip://div[@class="relative primary-slot padding-top img-border gallery-container photo-wrapper"] | 16 | strip://div[@class="relative primary-slot padding-top img-border gallery-container photo-wrapper"] |
12 | strip://div[@id="wp-column six end"] | 17 | strip://div[@id="wp-column six end"] |
13 | strip://div[contains(@class,'hidden')] | 18 | strip://div[contains(@class,'hidden')] |
@@ -23,6 +28,7 @@ strip_id_or_class: module | |||
23 | 28 | ||
24 | # Change gJQAwdJG4U_story.html to gJQAwdJG4U_print.html | 29 | # Change gJQAwdJG4U_story.html to gJQAwdJG4U_print.html |
25 | single_page_link: concat(substring-before(//link[@rel="canonical"]/@href, "_story.html"), "_print.html") | 30 | single_page_link: concat(substring-before(//link[@rel="canonical"]/@href, "_story.html"), "_print.html") |
31 | if_page_contains: //link[@rel="canonical" and contains(@href, '_story.html')] | ||
26 | 32 | ||
27 | # [OLD] Change gJQAwdJG4U_story.html to gJQAwdJG4U_story_print.html | 33 | # [OLD] Change gJQAwdJG4U_story.html to gJQAwdJG4U_story_print.html |
28 | #single_page_link: concat(substring-before(//link[@rel="canonical"]/@href, "_story.html"), "_story_print.html") | 34 | #single_page_link: concat(substring-before(//link[@rel="canonical"]/@href, "_story.html"), "_story_print.html") |