mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-05 15:26:27 +00:00
21 lines
786 B
Text
Executable file
21 lines
786 B
Text
Executable file
title: //meta[@property="og:title"]/@content
|
|
body: //div[img[starts-with(@id, 'img_caption')]] | //div[@class="big_photo"] | //div[contains(@class, 'entry_body_text')]
|
|
date: //meta[@name="publish_date"]/@content
|
|
author: //a[@rel="author"]
|
|
author: //meta[@name="author"]/@content
|
|
|
|
prune: no
|
|
tidy: no
|
|
|
|
strip: //footer
|
|
strip_id_or_class: ps-slideshow
|
|
strip_id_or_class: fs-slideshow
|
|
strip: //p[contains(., 'Related on HuffPost:')]
|
|
strip_id_or_class: contribute-story
|
|
strip_id_or_class: promo_holder
|
|
|
|
# end early
|
|
replace_string(<div class="sbm-main): </body></html><div class="not-interested
|
|
|
|
test_url: http://www.huffingtonpost.com/mitch-moxley/tracking-beijings-boom-th_b_1209828.html
|
|
test_url: http://www.huffingtonpost.com/2012/09/11/president-obama-iphone-throwdown_n_1873826.html
|