From cbba2d911da7b4dc444be4e9a8569dcc5690ba85 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Thu, 31 Dec 2015 18:13:20 +0100 Subject: Backport site_config changes from wallabag v1 Fix https://github.com/wallabag/wallabag/issues/1414 --- redtape.msnbc.msn.com.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 redtape.msnbc.msn.com.txt (limited to 'redtape.msnbc.msn.com.txt') diff --git a/redtape.msnbc.msn.com.txt b/redtape.msnbc.msn.com.txt new file mode 100755 index 0000000..8541a0d --- /dev/null +++ b/redtape.msnbc.msn.com.txt @@ -0,0 +1,20 @@ +# Think there might be something up with your parser that it strips out 'print' from the title :) + +title: //meta[@name='title']/@content +author: //meta[@name='author']/@content +date: //meta[@name='date']/@content + +body: //div[@class='articleText'] + +strip: //div[contains(@class, 'day')] +strip: //div[contains(@class, 'month')] +strip: //div[contains(@class, 'year')] +strip: //div[contains(@class, 'time')] +strip: //h1[@class='gl_headline'] +strip: //div[@class='byline'] +strip: //div[@id='left_ear'] +strip: //div[@id='right_ear'] +strip: //div[contains(@class, 'PopularPosts')] +strip ://div[@class='discuss_page_break'] +strip ://div[contains(@class, 'p-content_TagList')] +test_url: http://redtape.msnbc.msn.com/_news/2011/09/28/8020661-sprint-raises-fee-but-wont-free-users-from-two-year-contracts?preview=true \ No newline at end of file -- cgit v1.3.1