summaryrefslogtreecommitdiff
path: root/lifeweek.com.cn.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 /lifeweek.com.cn.txt
parent40f2b0baa973089866d6cb83a427ec1b2139d582 (diff)
downloadftr-site-config-41e3199b3fa8e49b362de214a51fb5ec11936410.tar.gz
ftr-site-config-41e3199b3fa8e49b362de214a51fb5ec11936410.zip
Mostly Instapaper changes
Diffstat (limited to 'lifeweek.com.cn.txt')
-rw-r--r--lifeweek.com.cn.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/lifeweek.com.cn.txt b/lifeweek.com.cn.txt
new file mode 100644
index 0000000..e09f669
--- /dev/null
+++ b/lifeweek.com.cn.txt
@@ -0,0 +1,23 @@
+# This filter is tested on:
+# http://www.lifeweek.com.cn/2012/1211/39439.shtml
+# http://www.lifeweek.com.cn/2013/0308/40213.shtml
+
+title:substring-before(//h1, '(')
+title://h1
+date://ul[@class='authorbox']/li
+author: substring-after(//ul[@class='authorbox']/li/following-sibling::li, '作者:')
+
+next_page_link: //div[@class='pageturn_list']/a[@class='pagedown']
+body: //div[@class='original ']
+
+strip://h1
+strip://ul[@class='authorbox']
+strip://span[@class='app_p']
+strip://div[@style='text-align:right;']
+strip://div[@class='pageturn_list']
+strip://div[@class='lifespeaks']
+strip://div[@class='vright fr']
+strip://div[@class='copyrt mg20']
+strip://div[@class='keyabout mg20']
+strip://ul[@class='readabout mg20']
+test_url: http://www.lifeweek.com.cn/2013/0308/40213.shtml \ No newline at end of file