diff options
author | tcit <tcit@tcit.fr> | 2014-10-08 19:26:26 +0200 |
---|---|---|
committer | tcit <tcit@tcit.fr> | 2014-10-08 19:26:26 +0200 |
commit | 8327f1c371ad1d930bf9c9a13e443f2aa29ecfe3 (patch) | |
tree | ea559def90e546716f3d6016fe8f06f333249ef6 /inc/3rdparty/site_config/standard/scientificamerican.com.txt | |
parent | d05f5eeb1dfd989e76f6040b220fe52738284841 (diff) | |
parent | 73c833780c37278a319fd3bfff172eede1a040bd (diff) | |
download | wallabag-8327f1c371ad1d930bf9c9a13e443f2aa29ecfe3.tar.gz wallabag-8327f1c371ad1d930bf9c9a13e443f2aa29ecfe3.tar.zst wallabag-8327f1c371ad1d930bf9c9a13e443f2aa29ecfe3.zip |
Merge branch 'dev' into data-for-mysql
Diffstat (limited to 'inc/3rdparty/site_config/standard/scientificamerican.com.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/scientificamerican.com.txt | 48 |
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 |
11 | title://h1[@class = 'articleTitle'] | 11 | title://h1[@class = 'articleTitle'] |
12 | author:substring-after(//span[@class = 'byline'],'By ') | 12 | author:substring-after(//span[@class = 'byline'],'By ') |
13 | date:substring-before(//span[@class = 'datestamp'],'|') | 13 | date:substring-before(//span[@class = 'datestamp'],'|') |
14 | 14 | ||
15 | #body content | 15 | #body content |
16 | body://div[@id = 'articleContent'] | 16 | body://div[@id = 'articleContent'] |
17 | #next_page_link://li[@id = 'flairPagination']/a[last()] | 17 | #next_page_link://li[@id = 'flairPagination']/a[last()] |
18 | 18 | ||
19 | single_page_link: //a[contains(@href, 'print=true')] | 19 | single_page_link: //a[contains(@href, 'print=true')] |
20 | 20 | ||
21 | #cleanup | 21 | #cleanup |
22 | strip://div[@class = 'fsgBooks'] | 22 | strip://div[@class = 'fsgBooks'] |
23 | 23 | ||
24 | test_url: http://www.scientificamerican.com/article.cfm?id=do-brain-scans-comatose-patients-reveal-conscious-state | 24 | test_url: http://www.scientificamerican.com/article.cfm?id=do-brain-scans-comatose-patients-reveal-conscious-state |
25 | test_url: http://www.scientificamerican.com/article.cfm?id=solar-wind-transforms-venus-into-shape-of-comet \ No newline at end of file | 25 | test_url: http://www.scientificamerican.com/article.cfm?id=solar-wind-transforms-venus-into-shape-of-comet \ No newline at end of file |