]>
Commit | Line | Data |
---|---|---|
ac4d1142 NL |
1 | title: //h1[@class="sl-art-head-dek"]\r |
2 | body: //article//div[@class='sl-art-body']/div[contains(@class, 'body')]\r | |
3 | strip: //div[@class="department_kicker"]\r | |
4 | strip: //div[@id="insider_ad_wrapper" or @id="insider_ad_inner"]\r | |
5 | strip: //div[@id="bottom_sponsored_links"]\r | |
6 | strip: //div[@class="sl-art-ad-midflex"]\r | |
7 | #strip: //dl\r | |
8 | #strip: //p[em/a[contains(@href, 'facebook.com')]]\r | |
9 | prune: no\r | |
10 | \r | |
11 | author: //div[@id='author_bio']//a[contains(@href, '/author/')]\r | |
12 | author: //a[contains(@href, '/authors.')]\r | |
13 | \r | |
14 | date: substring-before(substring-after(//span[@class='sl-art-byline'], 'Posted '), ', at ')\r | |
15 | \r | |
16 | single_page_link: //a[@class='sl-art-sinpage']\r | |
17 | \r | |
18 | test_url: http://www.slate.com/id/2274583/pagenum/all/\r | |
19 | test_url: http://www.slate.com/id/2293116/ |