summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Bensmann <lars@almosthappy.de>2014-11-22 18:47:04 +0100
committerLars Bensmann <lars@almosthappy.de>2014-11-22 18:47:04 +0100
commit677982b81bec9f3284c965bd2d77e831d1737613 (patch)
tree34c71ff90af5f6e2dfc7bb345dc3a230e41cd43c
parent222dcd48082e355cf593594b83bd6a9bb7a36d09 (diff)
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.
-rw-r--r--articleenhancer/xpathenhancers.json2
1 files changed, 1 insertions, 1 deletions
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"