aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/washingtonpost.com.txt
diff options
context:
space:
mode:
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")