summaryrefslogtreecommitdiff
path: root/zhihu.com.txt
diff options
context:
space:
mode:
Diffstat (limited to 'zhihu.com.txt')
-rw-r--r--zhihu.com.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/zhihu.com.txt b/zhihu.com.txt
new file mode 100644
index 0000000..3c9d8c1
--- /dev/null
+++ b/zhihu.com.txt
@@ -0,0 +1,19 @@
+# This filter is tested on:
+# http://www.zhihu.com/question/19587406
+# http://www.zhihu.com/question/20649035
+# http://www.zhihu.com/question/20637942
+
+author: //h3[@class='zm-item-answer-author-wrap']
+title://h2[@class='zm-item-title']
+date://a[@class='answer-date-link meta-item']
+convert_double_br_tags: yes
+
+wrap_in(blockquote)://div[@class='zm-editable-content']
+wrap_in(blockquote)://sup/text()
+dissolve://sup
+
+strip://div[@class='zh-answers-title']
+strip:///div[@class='zm-item-vote-info ']
+strip://div[@class='zm-item-answer-author-info']
+strip://div[@class='zu-blue-info-board zg-r3px']
+test_url: http://www.zhihu.com/question/20637942 \ No newline at end of file