From cbba2d911da7b4dc444be4e9a8569dcc5690ba85 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Thu, 31 Dec 2015 18:13:20 +0100 Subject: Backport site_config changes from wallabag v1 Fix https://github.com/wallabag/wallabag/issues/1414 --- xfgjls.com.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 xfgjls.com.txt (limited to 'xfgjls.com.txt') diff --git a/xfgjls.com.txt b/xfgjls.com.txt new file mode 100755 index 0000000..2dc247a --- /dev/null +++ b/xfgjls.com.txt @@ -0,0 +1,11 @@ +# This filter is tested on: +# http://www.xfgjls.com/magazine/html/?131.html +# http://www.xfgjls.com/magazine/html/?170.html + +body://h3/following-sibling::div +title: //h3 +date: substring-before(//h3/following-sibling::div/p, ' ') +author: substring-before(substring-after(//h3/following-sibling::div/p, '作者:'), '来源') +wrap_in(strong)://span[contains(@style, "FONT-WEIGHT: bold")] +dissolve://span[@style="FONT-FAMILY: '宋体'; FONT-SIZE: 10.5pt; FONT-WEIGHT: bold; mso-spacerun: 'yes'"] +test_url: http://www.xfgjls.com/magazine/html/?170.html \ No newline at end of file -- cgit v1.3.1