diff options
author | bastei <bastei@users.noreply.github.com> | 2013-10-06 21:20:13 +0200 |
---|---|---|
committer | bastei <bastei@users.noreply.github.com> | 2013-10-06 21:46:40 +0200 |
commit | 1729ee364d6fb7008a296cfcb1453336d104d12a (patch) | |
tree | e84dc38ddd5ecf45bf18c342637c7b5247b1f3d0 /articleenhancer | |
parent | 61148d3ea73a98ab89cac9de1248f835b586273e (diff) |
add heise and spiegel enhancers
Diffstat (limited to 'articleenhancer')
-rw-r--r-- | articleenhancer/xpathenhancers.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/articleenhancer/xpathenhancers.json b/articleenhancer/xpathenhancers.json index 09abac858..c92ecd64b 100644 --- a/articleenhancer/xpathenhancers.json +++ b/articleenhancer/xpathenhancers.json @@ -79,5 +79,11 @@ }, "forlackofabettercomic.com/archive.php": { "%forlackofabettercomic.com/\\?id=%": "//div[@id=\"comicset\"]/a/img" + }, + "heise.de/newsticker": { + "%heise.de%": "//*[@class='meldung_wrapper']" + }, + "spiegel.de": { + "%spiegel.de/(?!.*video).*%": "//p[@class='article-intro'] | //*[@itemprop='description' and not(ancestor::*[contains( normalize-space( @class ), 'article-section' )]) ] | //*[(@class='spPanoImageTeaserPic' or @class='spPanoGalleryTeaserPic' or @class='spPanoPlayerTeaserPic') and not(ancestor::*[contains( normalize-space( @class ), 'article-section' )])] | //*[@class='image-buttons-panel' and not(ancestor::*[contains( normalize-space( @class ), 'article-section' )])]/*[1]/img | //*[@class='article-image-description' and not(ancestor::*[contains( normalize-space( @class ), 'article-section' )]) ]/p | //*[@id='content-main']/*[@id='js-article-column']/div[contains( normalize-space( @class ), 'article-section' )]" } } |