summaryrefslogtreecommitdiff
path: root/ftchinese.com.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2013-05-13 00:52:49 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2013-05-13 00:52:49 +0200
commit41e3199b3fa8e49b362de214a51fb5ec11936410 (patch)
treee2b898e88a624a749f5139ede2871223eaa4a1db /ftchinese.com.txt
parent40f2b0baa973089866d6cb83a427ec1b2139d582 (diff)
downloadftr-site-config-41e3199b3fa8e49b362de214a51fb5ec11936410.tar.gz
ftr-site-config-41e3199b3fa8e49b362de214a51fb5ec11936410.zip
Mostly Instapaper changes
Diffstat (limited to 'ftchinese.com.txt')
-rw-r--r--ftchinese.com.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/ftchinese.com.txt b/ftchinese.com.txt
new file mode 100644
index 0000000..5c94d9b
--- /dev/null
+++ b/ftchinese.com.txt
@@ -0,0 +1,18 @@
+# Modified to define the single_page_link
+# This filter is tested on:
+# http://www.ftchinese.com/story/001047373
+# http://www.ftchinese.com/story/001047631
+# http://www.ftchinese.com/story/001047622/?print=y
+# http://www.ftchinese.com/story/001049052
+# http://www.ftchinese.com/story/001049088
+
+title:substring-before(//title, '-')
+author: //div[@class='byline']/a
+date: //a[@class='storytime']
+#Set date in print view
+#date: //div[@class='byline']/a/following-sibling::a
+body: //div[@id="bodytext"]
+strip://div[@class='pagination']
+single_page_link://div[@class='pagination']/a[.='全文']
+#next_page_link: //div[@class='pagination']//a[.='下一页']
+test_url: http://www.ftchinese.com/story/001049088 \ No newline at end of file