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/lareviewofbooks.org.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/lareviewofbooks.org.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/lareviewofbooks.org.txt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/inc/3rdparty/site_config/standard/lareviewofbooks.org.txt b/inc/3rdparty/site_config/standard/lareviewofbooks.org.txt index 504dbea1..25e36543 100644..100755 --- a/inc/3rdparty/site_config/standard/lareviewofbooks.org.txt +++ b/inc/3rdparty/site_config/standard/lareviewofbooks.org.txt | |||
@@ -1,12 +1,12 @@ | |||
1 | #meta data | 1 | #metadata |
2 | title:substring-after(title,'|') | 2 | title: substring-before(//title,' |') |
3 | 3 | author: //a[contains(@class,'person') and starts-with(@href, '/contributor')] | |
4 | author:substring-before( substring-after(//meta[@name = 'description']/@content, normalize-space(substring-after(//title,'|'))),' respond ') | 4 | |
5 | date://h5[@class = 'postDate'] | 5 | #text |
6 | 6 | body: //div[contains(@class, 'article_body')] | |
7 | #text | 7 | |
8 | body://div[@class = 'articleBody'] | 8 | #clean up |
9 | 9 | strip_id_or_class: recommended_section | |
10 | #clean up | 10 | |
11 | strip://center | 11 | test_url: http://lareviewofbooks.org/review/american-politics-redeembale-robert-gates-hillary-clinton-two-memoirs-washington-dc |
12 | test_url: http://lareviewofbooks.org/post/14066007115/literary-transactions-and-their-vicissitudes \ No newline at end of file | 12 | test_url: http://lareviewofbooks.org/interview/souvenirs-future |