aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/huffingtonpost.com.txt
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2014-07-13 10:15:40 +0200
committerNicolas Lœuillet <nicolas@loeuillet.org>2014-07-13 10:15:40 +0200
commit4e067ceabd705201a16b4c92cf4b23f3b990326c (patch)
tree939f3a8e5ff3ab9ee414a57a895d3e78e1d46ce3 /inc/3rdparty/site_config/standard/huffingtonpost.com.txt
parent58dbe103889148def78b0fc8744d3f94c56a1561 (diff)
downloadwallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.gz
wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.zst
wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.zip
updated specific configuration for parsing
Diffstat (limited to 'inc/3rdparty/site_config/standard/huffingtonpost.com.txt')
-rwxr-xr-x[-rw-r--r--]inc/3rdparty/site_config/standard/huffingtonpost.com.txt37
1 files changed, 21 insertions, 16 deletions
diff --git a/inc/3rdparty/site_config/standard/huffingtonpost.com.txt b/inc/3rdparty/site_config/standard/huffingtonpost.com.txt
index d40513b2..d4618c14 100644..100755
--- a/inc/3rdparty/site_config/standard/huffingtonpost.com.txt
+++ b/inc/3rdparty/site_config/standard/huffingtonpost.com.txt
@@ -1,16 +1,21 @@
1title: //meta[@property="og:title"]/@content 1title: //meta[@property="og:title"]/@content
2body: //div[img[starts-with(@id, 'img_caption')]] | //div[@class="big_photo"] | //div[contains(@class, 'entry_body_text')] 2body: //div[img[starts-with(@id, 'img_caption')]] | //div[@class="big_photo"] | //div[contains(@class, 'entry_body_text')]
3date: //meta[@name="publish_date"]/@content 3date: //meta[@name="publish_date"]/@content
4author: //a[@rel="author"] 4author: //a[@rel="author"]
5author: //meta[@name="author"]/@content 5author: //meta[@name="author"]/@content
6prune: no 6
7tidy: no 7prune: no
8strip: //footer 8tidy: no
9strip_id_or_class: ps-slideshow 9
10strip_id_or_class: fs-slideshow 10strip: //footer
11strip: //p[contains(., 'Related on HuffPost:')] 11strip_id_or_class: ps-slideshow
12# end early 12strip_id_or_class: fs-slideshow
13replace_string(<div class="sbm-main): </body></html><div class="not-interested 13strip: //p[contains(., 'Related on HuffPost:')]
14 14strip_id_or_class: contribute-story
15test_url: http://www.huffingtonpost.com/mitch-moxley/tracking-beijings-boom-th_b_1209828.html 15strip_id_or_class: promo_holder
16test_url: http://www.huffingtonpost.com/2012/09/11/president-obama-iphone-throwdown_n_1873826.html \ No newline at end of file 16
17# end early
18replace_string(<div class="sbm-main): </body></html><div class="not-interested
19
20test_url: http://www.huffingtonpost.com/mitch-moxley/tracking-beijings-boom-th_b_1209828.html
21test_url: http://www.huffingtonpost.com/2012/09/11/president-obama-iphone-throwdown_n_1873826.html