]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/3rdparty/site_config/standard/huffingtonpost.com.txt
[add] new specific configuration files
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / huffingtonpost.com.txt
diff --git a/inc/3rdparty/site_config/standard/huffingtonpost.com.txt b/inc/3rdparty/site_config/standard/huffingtonpost.com.txt
new file mode 100644 (file)
index 0000000..d40513b
--- /dev/null
@@ -0,0 +1,16 @@
+title: //meta[@property="og:title"]/@content\r
+body: //div[img[starts-with(@id, 'img_caption')]] | //div[@class="big_photo"] | //div[contains(@class, 'entry_body_text')]\r
+date: //meta[@name="publish_date"]/@content\r
+author: //a[@rel="author"]\r
+author: //meta[@name="author"]/@content\r
+prune: no\r
+tidy: no\r
+strip: //footer\r
+strip_id_or_class: ps-slideshow\r
+strip_id_or_class: fs-slideshow\r
+strip: //p[contains(., 'Related on HuffPost:')]\r
+# end early\r
+replace_string(<div class="sbm-main): </body></html><div class="not-interested \r
+\r
+test_url: http://www.huffingtonpost.com/mitch-moxley/tracking-beijings-boom-th_b_1209828.html\r
+test_url: http://www.huffingtonpost.com/2012/09/11/president-obama-iphone-throwdown_n_1873826.html
\ No newline at end of file