]> git.immae.eu Git - github/wallabag/wallabag.git/blob - inc/3rdparty/site_config/standard/chronicle.com.txt
0c6c11ed64d763a64b31a5f807a4bd0f64d44030
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / chronicle.com.txt
1 title: //h1[contains(@class, "entry-title")]
2 author: //p[contains(@class, "byline")]
3
4 # blog articles (chronicle.com/blogs/*)
5 body: //div[contains(@class, "abstract")]
6 date: //p[contains(@class, "time")]
7
8 # all (?) other articles
9 body: //div[@id="article-body"]
10 date: //p[contains(@class, "dateline")]
11
12 # remove sidebars containing images (I assume this is desired for Instapaper)
13 strip: //div[@id="related"]
14 strip: //div[contains(@class, "image")]
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
17 test_url: http://chronicle.com/article/In-a-Land-of-Second-Chances/128375/