]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/3rdparty/site_config/standard/chronicle.com.txt
[add] new specific configuration files
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / chronicle.com.txt
diff --git a/inc/3rdparty/site_config/standard/chronicle.com.txt b/inc/3rdparty/site_config/standard/chronicle.com.txt
new file mode 100644 (file)
index 0000000..0c6c11e
--- /dev/null
@@ -0,0 +1,17 @@
+title: //h1[contains(@class, "entry-title")]\r
+author: //p[contains(@class, "byline")]\r
+\r
+# blog articles (chronicle.com/blogs/*)\r
+body: //div[contains(@class, "abstract")]\r
+date: //p[contains(@class, "time")]\r
+\r
+# all (?) other articles\r
+body: //div[@id="article-body"]\r
+date: //p[contains(@class, "dateline")]\r
+\r
+# remove sidebars containing images (I assume this is desired for Instapaper)\r
+strip: //div[@id="related"]\r
+strip: //div[contains(@class, "image")]\r
+\r
+# 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