]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/3rdparty/site_config/standard/scientificamerican.com.txt
[fix] remember scroll position for baggy theme #519
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / scientificamerican.com.txt
CommitLineData
ac4d1142
NL
1#\r
2# After site revisions at SciAm, this configuration does\r
3# not work, especially for multi-page articles. For\r
4# every article there is now a "Print" link which\r
5# is far more reliable. So this configuration should be\r
6# removed or disabled.\r
7# 2/3/13\r
8#\r
9\r
10# meta data\r
11title://h1[@class = 'articleTitle']\r
12author:substring-after(//span[@class = 'byline'],'By ')\r
13date:substring-before(//span[@class = 'datestamp'],'|')\r
14\r
15#body content\r
16body://div[@id = 'articleContent']\r
17#next_page_link://li[@id = 'flairPagination']/a[last()]\r
18\r
19single_page_link: //a[contains(@href, 'print=true')]\r
20\r
21#cleanup\r
22strip://div[@class = 'fsgBooks']\r
23\r
24test_url: http://www.scientificamerican.com/article.cfm?id=do-brain-scans-comatose-patients-reveal-conscious-state\r
25test_url: http://www.scientificamerican.com/article.cfm?id=solar-wind-transforms-venus-into-shape-of-comet