# Seems to be redirecting to articles.washingtonpost.com for many users

body: //div[contains(@class, "article_body")]
# print view
body: //div[@id='print_facet']//div[@id='body']

author://meta[@name='DC.creator']/@content
author://span[@class="pb-byline"]
author://h3[@property='dc.creator']//a[@rel='author']
title://meta[@name='title']/@content
date://div[contains(@class,'byline')]//span[contains(@class,'published')]/@title
date://meta[@name="DC.date.issued"]/@content
date://span[contains(@class,"pb-timestamp")]
date://meta[@name="eomportal-lastUpdate"]/@content

strip://div[@class="relative primary-slot padding-top img-border gallery-container photo-wrapper"]
strip://div[@id="wp-column six end"]
strip://div[contains(@class,'hidden')]
strip://div[@id='article-side-rail']
strip://div[@class="module component todays-paper-module curved"]
strip://div[@class="module component live-qa curved img-border"]
strip://div[@class="module component newsletter-signup curved"]
strip://div[@class="module featured-stories component curved img-border"]
strip://h3[@property="dc.creator"]

strip_id_or_class: carousel
strip_id_or_class: toolbar
strip_id_or_class: module

# Change gJQAwdJG4U_story.html to gJQAwdJG4U_print.html
single_page_link: concat(substring-before(//link[@rel="canonical"]/@href, "_story.html"), "_print.html")
if_page_contains: //link[@rel="canonical" and contains(@href, '_story.html')]

# [OLD] Change gJQAwdJG4U_story.html to gJQAwdJG4U_story_print.html
#single_page_link: concat(substring-before(//link[@rel="canonical"]/@href, "_story.html"), "_story_print.html")

test_url: http://www.washingtonpost.com/world/europe/in-europe-new-fears-of-german-might/2011/10/19/gIQA3baZ7L_story.html?hpid=z1
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
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
