aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/huffingtonpost.com.txt
diff options
context:
space:
mode:
Diffstat (limited to 'inc/3rdparty/site_config/standard/huffingtonpost.com.txt')
-rw-r--r--inc/3rdparty/site_config/standard/huffingtonpost.com.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/huffingtonpost.com.txt b/inc/3rdparty/site_config/standard/huffingtonpost.com.txt
new file mode 100644
index 00000000..d40513b2
--- /dev/null
+++ b/inc/3rdparty/site_config/standard/huffingtonpost.com.txt
@@ -0,0 +1,16 @@
1title: //meta[@property="og:title"]/@content
2body: //div[img[starts-with(@id, 'img_caption')]] | //div[@class="big_photo"] | //div[contains(@class, 'entry_body_text')]
3date: //meta[@name="publish_date"]/@content
4author: //a[@rel="author"]
5author: //meta[@name="author"]/@content
6prune: no
7tidy: no
8strip: //footer
9strip_id_or_class: ps-slideshow
10strip_id_or_class: fs-slideshow
11strip: //p[contains(., 'Related on HuffPost:')]
12# end early
13replace_string(<div class="sbm-main): </body></html><div class="not-interested
14
15test_url: http://www.huffingtonpost.com/mitch-moxley/tracking-beijings-boom-th_b_1209828.html
16test_url: http://www.huffingtonpost.com/2012/09/11/president-obama-iphone-throwdown_n_1873826.html \ No newline at end of file