From 5f3e7cb44b351103bfeed8688af51b61ffd12832 Mon Sep 17 00:00:00 2001 From: Juanjo Benages Date: Wed, 14 Oct 2015 20:51:05 +0200 Subject: Corrections to chronicle.com --- inc/3rdparty/site_config/standard/chronicle.com.txt | 15 ++++----------- 1 file 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 @@ title: //h1[contains(@class, "entry-title")] author: //p[contains(@class, "byline")] -# blog articles (chronicle.com/blogs/*) -body: //div[contains(@class, "abstract")] -date: //p[contains(@class, "time")] - # all (?) other articles -body: //div[@id="article-body"] +body: //div[@class="content-item__story"] date: //p[contains(@class, "dateline")] -# remove sidebars containing images (I assume this is desired for Instapaper) -strip: //div[@id="related"] -strip: //div[contains(@class, "image")] - -# 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 -test_url: http://chronicle.com/article/In-a-Land-of-Second-Chances/128375/ \ No newline at end of file +# 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 $ +test_url: http://chronicle.com/article/In-a-Land-of-Second-Chances/128375/ +test_url: http://chronicle.com/blogs/wiredcampus/university-run-boot-camps-offer-students-marketable-skills-but-not-course-credit/57494 -- cgit v1.2.3