diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-13 10:15:40 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-13 10:15:40 +0200 |
commit | 4e067ceabd705201a16b4c92cf4b23f3b990326c (patch) | |
tree | 939f3a8e5ff3ab9ee414a57a895d3e78e1d46ce3 /inc/3rdparty/site_config/standard/codinghorror.com.txt | |
parent | 58dbe103889148def78b0fc8744d3f94c56a1561 (diff) | |
download | wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.gz wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.zst wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.zip |
updated specific configuration for parsing
Diffstat (limited to 'inc/3rdparty/site_config/standard/codinghorror.com.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/codinghorror.com.txt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/inc/3rdparty/site_config/standard/codinghorror.com.txt b/inc/3rdparty/site_config/standard/codinghorror.com.txt index 9c95f107..adf6e5a0 100644..100755 --- a/inc/3rdparty/site_config/standard/codinghorror.com.txt +++ b/inc/3rdparty/site_config/standard/codinghorror.com.txt | |||
@@ -1,15 +1,15 @@ | |||
1 | body: //div[@class='blogbody'] | 1 | body: //div[@class='blogbody'] |
2 | strip: //h3[@class='title'] | 2 | strip: //h3[@class='title'] |
3 | date: //h2[@class='date'] | 3 | date: //h2[@class='date'] |
4 | #Should Atwood just be a literal? | 4 | #Should Atwood just be a literal? |
5 | author: substring-before( substring-after(//div[@class='posted'], 'y'), 'V') | 5 | author: substring-before( substring-after(//div[@class='posted'], 'y'), 'V') |
6 | 6 | ||
7 | # tim.kingman@... 2011-07-26 | 7 | # tim.kingman@... 2011-07-26 |
8 | # Prune:no to retain all-link ULs that are part of the body content like | 8 | # Prune:no to retain all-link ULs that are part of the body content like |
9 | # http://www.codinghorror.com/blog/2011/07/building-a-pc-part-vii-rebooting.html | 9 | # http://www.codinghorror.com/blog/2011/07/building-a-pc-part-vii-rebooting.html |
10 | # Then explicitly strip the "Posted By" and prev/next links that Prune:yes would have removed. | 10 | # Then explicitly strip the "Posted By" and prev/next links that Prune:yes would have removed. |
11 | 11 | ||
12 | prune: no | 12 | prune: no |
13 | strip: //div[@class='posted']/following-sibling::* | 13 | strip: //div[@class='posted']/following-sibling::* |
14 | strip: //div[@class='posted'] | 14 | strip: //div[@class='posted'] |
15 | test_url: http://www.codinghorror.com/blog/2011/07/building-a-pc-part-vii-rebooting.html \ No newline at end of file | 15 | test_url: http://www.codinghorror.com/blog/2011/07/building-a-pc-part-vii-rebooting.html \ No newline at end of file |