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/contemporist.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/contemporist.com.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/contemporist.com.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/inc/3rdparty/site_config/standard/contemporist.com.txt b/inc/3rdparty/site_config/standard/contemporist.com.txt index d2b289a3..c3120fe8 100644..100755 --- a/inc/3rdparty/site_config/standard/contemporist.com.txt +++ b/inc/3rdparty/site_config/standard/contemporist.com.txt | |||
@@ -1,9 +1,9 @@ | |||
1 | # get author from string like "Posted by <author> on <date>" | 1 | # get author from string like "Posted by <author> on <date>" |
2 | author: substring-before(substring-after(//div[@class='post']/p[@class='post-meta'], 'by'), 'on') | 2 | author: substring-before(substring-after(//div[@class='post']/p[@class='post-meta'], 'by'), 'on') |
3 | 3 | ||
4 | # get date from string like "Posted by <author> on <date>" | 4 | # get date from string like "Posted by <author> on <date>" |
5 | date: substring-after(//div[@class='post']/p[@class='post-meta'], 'on') | 5 | date: substring-after(//div[@class='post']/p[@class='post-meta'], 'on') |
6 | 6 | ||
7 | # this keeps thumbnail images | 7 | # this keeps thumbnail images |
8 | prune: no | 8 | prune: no |
9 | test_url: http://www.contemporist.com/2011/11/02/landing-200-lamp-by-kim-hyunjoo \ No newline at end of file | 9 | test_url: http://www.contemporist.com/2011/11/02/landing-200-lamp-by-kim-hyunjoo \ No newline at end of file |