mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-04 23:06:27 +00:00
11 lines
No EOL
547 B
Text
Executable file
11 lines
No EOL
547 B
Text
Executable file
# 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 |