summaryrefslogtreecommitdiff
path: root/omm.hk.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 /omm.hk.txt
parent40f2b0baa973089866d6cb83a427ec1b2139d582 (diff)
downloadftr-site-config-41e3199b3fa8e49b362de214a51fb5ec11936410.tar.gz
ftr-site-config-41e3199b3fa8e49b362de214a51fb5ec11936410.zip
Mostly Instapaper changes
Diffstat (limited to 'omm.hk.txt')
-rw-r--r--omm.hk.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/omm.hk.txt b/omm.hk.txt
new file mode 100644
index 0000000..c6dd29b
--- /dev/null
+++ b/omm.hk.txt
@@ -0,0 +1,19 @@
+# This filter is tested on:
+# http://omm.hk/time-after-japan-will-china-scale-back-its-nuclear-ambitions.html
+# http://omm.hk/usa-today-china-invites-world-to-6-month-party.html
+# http://omm.hk/%E6%96%B0%E9%97%BB%E7%9C%8B%E4%B8%96%E5%8D%9A.html
+
+body://div[@class='entry']
+
+title:substring-after(//h2, ':')
+title:substring-after(//h2, ':')
+title://h2
+
+author:substring-before(//h2, ':')
+author:substring-before(//h2, ':')
+author:substring-after(//title, '»')
+
+date:concat(//div[@class='postdate']/br/preceding-sibling::text(), '-', //div[@class='postdate']/br/following-sibling::text())
+
+strip://div[contains(@class, 'post-ratings')]
+test_url: http://omm.hk/%E4%B8%AD%E5%9B%BD%E9%9D%92%E5%B9%B4%E6%8A%A5%EF%BC%9A%E5%AE%AA%E6%B3%95%E8%AF%BE.html \ No newline at end of file