aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/chronicle.com.txt
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-18 20:01:56 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-18 20:01:56 +0200
commit143f550ba6bee8c13ce80a753fe6f15a20a551f1 (patch)
tree26ff1bb46df5ad5c1dbf711fb323a7659a715345 /inc/3rdparty/site_config/standard/chronicle.com.txt
parent5d49f06220d3a8f1c731a6cea7f39fd71e8c774d (diff)
parent729c89aec41c7f53411deb43389e2b775a29d073 (diff)
downloadwallabag-143f550ba6bee8c13ce80a753fe6f15a20a551f1.tar.gz
wallabag-143f550ba6bee8c13ce80a753fe6f15a20a551f1.tar.zst
wallabag-143f550ba6bee8c13ce80a753fe6f15a20a551f1.zip
Merge pull request #1814 from wallabag/dev
Wallabag 1.9.2
Diffstat (limited to 'inc/3rdparty/site_config/standard/chronicle.com.txt')
-rwxr-xr-xinc/3rdparty/site_config/standard/chronicle.com.txt15
1 files changed, 4 insertions, 11 deletions
diff --git a/inc/3rdparty/site_config/standard/chronicle.com.txt b/inc/3rdparty/site_config/standard/chronicle.com.txt
index e86d3eca..227a03c7 100755
--- a/inc/3rdparty/site_config/standard/chronicle.com.txt
+++ b/inc/3rdparty/site_config/standard/chronicle.com.txt
@@ -1,17 +1,10 @@
1title: //h1[contains(@class, "entry-title")] 1title: //h1[contains(@class, "entry-title")]
2author: //p[contains(@class, "byline")] 2author: //p[contains(@class, "byline")]
3 3
4# blog articles (chronicle.com/blogs/*)
5body: //div[contains(@class, "abstract")]
6date: //p[contains(@class, "time")]
7
8# all (?) other articles 4# all (?) other articles
9body: //div[@id="article-body"] 5body: //div[@class="content-item__story"]
10date: //p[contains(@class, "dateline")] 6date: //p[contains(@class, "dateline")]
11 7
12# remove sidebars containing images (I assume this is desired for Instapaper) 8# note that if you're not a Chronicle subscriber (personally or institutionally), you'll only see the first couple of paragraphs of the article, and Instapaper $
13strip: //div[@id="related"] 9test_url: http://chronicle.com/article/In-a-Land-of-Second-Chances/128375/
14strip: //div[contains(@class, "image")] 10test_url: http://chronicle.com/blogs/wiredcampus/university-run-boot-camps-offer-students-marketable-skills-but-not-course-credit/57494
15
16# note that if you're not a Chronicle subscriber (personally or institutionally), you'll only see the first couple of paragraphs of the article, and Instapaper will display that with some crap above and below. thank goodness for that bookmarklet
17test_url: http://chronicle.com/article/In-a-Land-of-Second-Chances/128375/ \ No newline at end of file