From 677982b81bec9f3284c965bd2d77e831d1737613 Mon Sep 17 00:00:00 2001 From: Lars Bensmann Date: Sat, 22 Nov 2014 18:47:04 +0100 Subject: Refined spiegel.de xpatharticleenhancer This xpathenhancer does not result in empty bullet points at the top of article. It also adds the authors name/sign at the end of the article. --- articleenhancer/xpathenhancers.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articleenhancer/xpathenhancers.json b/articleenhancer/xpathenhancers.json index aa6511e27..9f07510da 100644 --- a/articleenhancer/xpathenhancers.json +++ b/articleenhancer/xpathenhancers.json @@ -94,7 +94,7 @@ "%heise.de%": "//*[@class='meldung_wrapper']/*[not(contains(@class, 'dossier'))]" }, "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' )]" + "%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' )]/*[not( contains( normalize-space( @class ), 'article-function-social-media' ))] | //*[@id='content-main']/*[@id='js-article-column']/p" }, "eqcomics.com": { "%feedproxy.google.com/~r/eqcomics%": "//div[@id=\"comic\"]/div/a/img" -- cgit v1.2.3