aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/scientificamerican.com.txt
diff options
context:
space:
mode:
Diffstat (limited to 'inc/3rdparty/site_config/standard/scientificamerican.com.txt')
-rwxr-xr-x[-rw-r--r--]inc/3rdparty/site_config/standard/scientificamerican.com.txt48
1 files changed, 24 insertions, 24 deletions
diff --git a/inc/3rdparty/site_config/standard/scientificamerican.com.txt b/inc/3rdparty/site_config/standard/scientificamerican.com.txt
index d510407d..1b3f31cf 100644..100755
--- a/inc/3rdparty/site_config/standard/scientificamerican.com.txt
+++ b/inc/3rdparty/site_config/standard/scientificamerican.com.txt
@@ -1,25 +1,25 @@
1# 1#
2# After site revisions at SciAm, this configuration does 2# After site revisions at SciAm, this configuration does
3# not work, especially for multi-page articles. For 3# not work, especially for multi-page articles. For
4# every article there is now a "Print" link which 4# every article there is now a "Print" link which
5# is far more reliable. So this configuration should be 5# is far more reliable. So this configuration should be
6# removed or disabled. 6# removed or disabled.
7# 2/3/13 7# 2/3/13
8# 8#
9 9
10# meta data 10# meta data
11title://h1[@class = 'articleTitle'] 11title://h1[@class = 'articleTitle']
12author:substring-after(//span[@class = 'byline'],'By ') 12author:substring-after(//span[@class = 'byline'],'By ')
13date:substring-before(//span[@class = 'datestamp'],'|') 13date:substring-before(//span[@class = 'datestamp'],'|')
14 14
15#body content 15#body content
16body://div[@id = 'articleContent'] 16body://div[@id = 'articleContent']
17#next_page_link://li[@id = 'flairPagination']/a[last()] 17#next_page_link://li[@id = 'flairPagination']/a[last()]
18 18
19single_page_link: //a[contains(@href, 'print=true')] 19single_page_link: //a[contains(@href, 'print=true')]
20 20
21#cleanup 21#cleanup
22strip://div[@class = 'fsgBooks'] 22strip://div[@class = 'fsgBooks']
23 23
24test_url: http://www.scientificamerican.com/article.cfm?id=do-brain-scans-comatose-patients-reveal-conscious-state 24test_url: http://www.scientificamerican.com/article.cfm?id=do-brain-scans-comatose-patients-reveal-conscious-state
25test_url: http://www.scientificamerican.com/article.cfm?id=solar-wind-transforms-venus-into-shape-of-comet \ No newline at end of file 25test_url: http://www.scientificamerican.com/article.cfm?id=solar-wind-transforms-venus-into-shape-of-comet \ No newline at end of file