From 1729ee364d6fb7008a296cfcb1453336d104d12a Mon Sep 17 00:00:00 2001 From: bastei Date: Sun, 6 Oct 2013 21:20:13 +0200 Subject: add heise and spiegel enhancers --- articleenhancer/xpathenhancers.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'articleenhancer') 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' )]" } } -- cgit v1.2.3