diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-23 13:44:48 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-23 13:44:48 +0200 |
commit | 887b015def3098f1e898e7bf3338fa2d093b6d95 (patch) | |
tree | 41206132200aa9390e11d600ad2b84ffa23242e4 /inc/3rdparty/site_config/standard/schneier.com.txt | |
parent | ebd6bf6007e0fad4c3e11dac0e79f687e1d195a2 (diff) | |
parent | 505a74ad1de7cf2cd3605e793233365501f03d87 (diff) | |
download | wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.tar.gz wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.tar.zst wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.zip |
Merge branch 'refactor' into dev
Diffstat (limited to 'inc/3rdparty/site_config/standard/schneier.com.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/schneier.com.txt | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/inc/3rdparty/site_config/standard/schneier.com.txt b/inc/3rdparty/site_config/standard/schneier.com.txt index 67181b65..0074a86a 100644..100755 --- a/inc/3rdparty/site_config/standard/schneier.com.txt +++ b/inc/3rdparty/site_config/standard/schneier.com.txt | |||
@@ -1,25 +1,25 @@ | |||
1 | author: //p[@class='mastname'] | 1 | author: //p[@class='mastname'] |
2 | 2 | ||
3 | body: //div[@class='indivbody'] | 3 | body: //div[@class='indivbody'] |
4 | date: //div[@class='indivbody']/h2[1] | 4 | date: //div[@class='indivbody']/h2[1] |
5 | 5 | ||
6 | # Remove blog title. Specify first occurrence in case h1 is used in article | 6 | # Remove blog title. Specify first occurrence in case h1 is used in article |
7 | strip: //div[@class='indivbody']/h1[1] | 7 | strip: //div[@class='indivbody']/h1[1] |
8 | 8 | ||
9 | # Remove blog description (the first p element) | 9 | # Remove blog description (the first p element) |
10 | strip: //div[@class='indivbody']/p[1] | 10 | strip: //div[@class='indivbody']/p[1] |
11 | 11 | ||
12 | # Remove navigation (second p element) | 12 | # Remove navigation (second p element) |
13 | strip: //div[@class='indivbody']/p[2] | 13 | strip: //div[@class='indivbody']/p[2] |
14 | 14 | ||
15 | # Remove duplicate of article title. Specify first occurrence in case h3 is used in article | 15 | # Remove duplicate of article title. Specify first occurrence in case h3 is used in article |
16 | strip: //div[@class='indivbody']/h3[1] | 16 | strip: //div[@class='indivbody']/h3[1] |
17 | 17 | ||
18 | # Remove publishing date, it's extracted by rule above | 18 | # Remove publishing date, it's extracted by rule above |
19 | strip: //div[@class='indivbody']/h2[1] | 19 | strip: //div[@class='indivbody']/h2[1] |
20 | 20 | ||
21 | # Remove duplicate of date at end, and newsletter signup | 21 | # Remove duplicate of date at end, and newsletter signup |
22 | strip: //p[@class='posted'] | 22 | strip: //p[@class='posted'] |
23 | 23 | ||
24 | # Leave date at top | 24 | # Leave date at top |
25 | test_url: http://www.schneier.com/blog/archives/2010/12/security_in_202.html \ No newline at end of file | 25 | test_url: http://www.schneier.com/blog/archives/2010/12/security_in_202.html \ No newline at end of file |