diff options
| author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-31 18:13:20 +0100 |
|---|---|---|
| committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-31 18:13:20 +0100 |
| commit | cbba2d911da7b4dc444be4e9a8569dcc5690ba85 (patch) | |
| tree | 25ae329c4c2b43f7fef07a10d945f7084d9441a9 /redtape.msnbc.msn.com.txt | |
| parent | 7e2e4967a3885cd0c45469ecf6c0547f8c3ab722 (diff) | |
| download | ftr-site-config-cbba2d911da7b4dc444be4e9a8569dcc5690ba85.tar.gz ftr-site-config-cbba2d911da7b4dc444be4e9a8569dcc5690ba85.zip | |
Backport site_config changes from wallabag v1
Fix https://github.com/wallabag/wallabag/issues/1414
Diffstat (limited to 'redtape.msnbc.msn.com.txt')
| -rwxr-xr-x | redtape.msnbc.msn.com.txt | 20 |
1 files changed, 20 insertions, 0 deletions
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 |
