diff options
author | tcit <tcit@tcit.fr> | 2014-10-08 19:26:26 +0200 |
---|---|---|
committer | tcit <tcit@tcit.fr> | 2014-10-08 19:26:26 +0200 |
commit | 8327f1c371ad1d930bf9c9a13e443f2aa29ecfe3 (patch) | |
tree | ea559def90e546716f3d6016fe8f06f333249ef6 /inc/3rdparty/site_config/standard/washingtonpost.com.txt | |
parent | d05f5eeb1dfd989e76f6040b220fe52738284841 (diff) | |
parent | 73c833780c37278a319fd3bfff172eede1a040bd (diff) | |
download | wallabag-8327f1c371ad1d930bf9c9a13e443f2aa29ecfe3.tar.gz wallabag-8327f1c371ad1d930bf9c9a13e443f2aa29ecfe3.tar.zst wallabag-8327f1c371ad1d930bf9c9a13e443f2aa29ecfe3.zip |
Merge branch 'dev' into data-for-mysql
Diffstat (limited to 'inc/3rdparty/site_config/standard/washingtonpost.com.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/washingtonpost.com.txt | 51 |
1 files changed, 31 insertions, 20 deletions
diff --git a/inc/3rdparty/site_config/standard/washingtonpost.com.txt b/inc/3rdparty/site_config/standard/washingtonpost.com.txt index 2931ca5f..0aa9f1d8 100644..100755 --- a/inc/3rdparty/site_config/standard/washingtonpost.com.txt +++ b/inc/3rdparty/site_config/standard/washingtonpost.com.txt | |||
@@ -1,21 +1,32 @@ | |||
1 | body: //div[@class="article_body"] | 1 | # Seems to be redirecting to articles.washingtonpost.com for many users |
2 | author://meta[@name='DC.creator']/@content | 2 | |
3 | title://meta[@name='title']/@content | 3 | body: //div[contains(@class, "article_body")] |
4 | date://div[contains(@class,'byline')]//span[contains(@class,'published')]/@title | 4 | # print view |
5 | date://meta[@name="DC.date.issued"]/@content | 5 | body: //div[@id='print_facet']//div[@id='body'] |
6 | strip://div[@class="relative primary-slot padding-top img-border gallery-container photo-wrapper"] | 6 | |
7 | strip://div[@id="wp-column six end"] | 7 | author://meta[@name='DC.creator']/@content |
8 | strip://div[contains(@class,'hidden')] | 8 | title://meta[@name='title']/@content |
9 | strip://div[@id='article-side-rail'] | 9 | date://div[contains(@class,'byline')]//span[contains(@class,'published')]/@title |
10 | strip://div[@class="module component todays-paper-module curved"] | 10 | date://meta[@name="DC.date.issued"]/@content |
11 | strip://div[@class="module component live-qa curved img-border"] | 11 | strip://div[@class="relative primary-slot padding-top img-border gallery-container photo-wrapper"] |
12 | strip://div[@class="module component newsletter-signup curved"] | 12 | strip://div[@id="wp-column six end"] |
13 | strip://div[@class="module featured-stories component curved img-border"] | 13 | strip://div[contains(@class,'hidden')] |
14 | 14 | strip://div[@id='article-side-rail'] | |
15 | strip_id_or_class: carousel | 15 | strip://div[@class="module component todays-paper-module curved"] |
16 | strip_id_or_class: toolbar | 16 | strip://div[@class="module component live-qa curved img-border"] |
17 | strip_id_or_class: module | 17 | strip://div[@class="module component newsletter-signup curved"] |
18 | 18 | strip://div[@class="module featured-stories component curved img-border"] | |
19 | test_url: http://www.washingtonpost.com/world/europe/in-europe-new-fears-of-german-might/2011/10/19/gIQA3baZ7L_story.html?hpid=z1 | 19 | |
20 | test_url: http://www.washingtonpost.com/national/health-science/radical-theory-of-first-americans-places-stone-age-europeans-in-delmarva-20000-years-ago/2012/02/28/gIQA4mriiR_story.html | 20 | strip_id_or_class: carousel |
21 | strip_id_or_class: toolbar | ||
22 | strip_id_or_class: module | ||
23 | |||
24 | # Change gJQAwdJG4U_story.html to gJQAwdJG4U_print.html | ||
25 | single_page_link: concat(substring-before(//link[@rel="canonical"]/@href, "_story.html"), "_print.html") | ||
26 | |||
27 | # [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") | ||
29 | |||
30 | test_url: http://www.washingtonpost.com/world/europe/in-europe-new-fears-of-german-might/2011/10/19/gIQA3baZ7L_story.html?hpid=z1 | ||
31 | test_url: http://www.washingtonpost.com/national/health-science/radical-theory-of-first-americans-places-stone-age-europeans-in-delmarva-20000-years-ago/2012/02/28/gIQA4mriiR_story.html | ||
21 | test_url: http://www.washingtonpost.com/lifestyle/magazine/the-sorry-fate-of-a-tech-pioneer-halsey-minor-and-historic-virginia-estate-carters-grove/2012/05/30/gJQAwdJG4U_story.html \ No newline at end of file | 32 | test_url: http://www.washingtonpost.com/lifestyle/magazine/the-sorry-fate-of-a-tech-pioneer-halsey-minor-and-historic-virginia-estate-carters-grove/2012/05/30/gJQAwdJG4U_story.html \ No newline at end of file |