]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/3rdparty/site_config/standard/businessweek.com.txt
Merge pull request #363 from inthepoche/dev
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / businessweek.com.txt
CommitLineData
ac4d1142
NL
1# story has several pages, should be detected\r
2body: //div[@id='storyBody']\r
3body: //div[@id='article_body']\r
4body: //div[@id='story_body']\r
5\r
6title://h1[@id='article_headline']\r
7\r
8# article author\r
9author: //p[@class='author']/a\r
10# story author(s)\r
11author: substring-after(//p[@class='byline'], 'By ')\r
12\r
13# article date\r
14date: //span[@class='published_date']\r
15# story date\r
16date: //span[@class='date']\r
17\r
18date: substring-after(//div[contains(@class,'attributor')],'on')\r
19strip_id_or_class: inset\r
20strip: //p/span[@class='photoCredit']\r
21strip: //h1\r
22\r
23strip_id_or_class: page_count\r
24strip_id_or_class: tools\r
25strip_id_or_class: pagination\r
26\r
27single_page_link: //li[@id='stPrint']/a\r
28\r
29test_url: http://www.businessweek.com/magazine/buyback-insurance-a-good-deal-for-retailers-07282011.html\r
30test_url: http://www.businessweek.com/articles/2012-06-06/american-pain-the-largest-u-dot-s-dot-pill-mills-rise-and-fall