summaryrefslogtreecommitdiff
path: root/xfgjls.com.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2014-06-18 17:23:30 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2014-06-18 17:23:30 +0200
commit1ab52f73941b81a426cc23e66fcb92e61c0ad590 (patch)
tree64e475197453cd7f1c48762636f0a4d94d5f35e0 /xfgjls.com.txt
parent74def7cf8df3db2a45ce27d93adc240f08cf120c (diff)
parent345e04f80139e1e35c0f725e3deeb4ae30b63eb6 (diff)
downloadftr-site-config-1ab52f73941b81a426cc23e66fcb92e61c0ad590.tar.gz
ftr-site-config-1ab52f73941b81a426cc23e66fcb92e61c0ad590.zip
Merge pull request #30 from tomtaylor/master
Fix magazine style newsweek.com pages.
Diffstat (limited to 'xfgjls.com.txt')
-rw-r--r--xfgjls.com.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/xfgjls.com.txt b/xfgjls.com.txt
index 919d416..2dc247a 100644
--- a/xfgjls.com.txt
+++ b/xfgjls.com.txt
@@ -1,11 +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")]
+# 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