diff options
Diffstat (limited to 'omm.hk.txt')
| -rw-r--r-- | omm.hk.txt | 19 |
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 |
