aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/washingtonpost.com.txt
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-03 13:21:11 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-03 13:21:11 +0200
commitc766284d522206578e7ec154961e0fce456f70c8 (patch)
treea5246151bf8278a0e8053b9dd1ce9d770073c50b /inc/3rdparty/site_config/standard/washingtonpost.com.txt
parentc0cb52c07439c974075c302a190a034a8cce4f92 (diff)
parente968ec6c2244aee600358b3c87648b2409c97945 (diff)
downloadwallabag-c766284d522206578e7ec154961e0fce456f70c8.tar.gz
wallabag-c766284d522206578e7ec154961e0fce456f70c8.tar.zst
wallabag-c766284d522206578e7ec154961e0fce456f70c8.zip
Merge pull request #1267 from wallabag/dev1.9.1
1.9.1
Diffstat (limited to 'inc/3rdparty/site_config/standard/washingtonpost.com.txt')
-rwxr-xr-xinc/3rdparty/site_config/standard/washingtonpost.com.txt6
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")]
5body: //div[@id='print_facet']//div[@id='body'] 5body: //div[@id='print_facet']//div[@id='body']
6 6
7author://meta[@name='DC.creator']/@content 7author://meta[@name='DC.creator']/@content
8author://span[@class="pb-byline"]
9author://h3[@property='dc.creator']//a[@rel='author']
8title://meta[@name='title']/@content 10title://meta[@name='title']/@content
9date://div[contains(@class,'byline')]//span[contains(@class,'published')]/@title 11date://div[contains(@class,'byline')]//span[contains(@class,'published')]/@title
10date://meta[@name="DC.date.issued"]/@content 12date://meta[@name="DC.date.issued"]/@content
13date://span[contains(@class,"pb-timestamp")]
14date://meta[@name="eomportal-lastUpdate"]/@content
15
11strip://div[@class="relative primary-slot padding-top img-border gallery-container photo-wrapper"] 16strip://div[@class="relative primary-slot padding-top img-border gallery-container photo-wrapper"]
12strip://div[@id="wp-column six end"] 17strip://div[@id="wp-column six end"]
13strip://div[contains(@class,'hidden')] 18strip://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
25single_page_link: concat(substring-before(//link[@rel="canonical"]/@href, "_story.html"), "_print.html") 30single_page_link: concat(substring-before(//link[@rel="canonical"]/@href, "_story.html"), "_print.html")
31if_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")