aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/spiegel.de.txt
diff options
context:
space:
mode:
Diffstat (limited to 'inc/3rdparty/site_config/standard/spiegel.de.txt')
-rwxr-xr-xinc/3rdparty/site_config/standard/spiegel.de.txt25
1 files changed, 23 insertions, 2 deletions
diff --git a/inc/3rdparty/site_config/standard/spiegel.de.txt b/inc/3rdparty/site_config/standard/spiegel.de.txt
index 413e0155..7b7b1752 100755
--- a/inc/3rdparty/site_config/standard/spiegel.de.txt
+++ b/inc/3rdparty/site_config/standard/spiegel.de.txt
@@ -8,6 +8,9 @@
8# - Fixed single_page_link 8# - Fixed single_page_link
9# - Included intro text in single page view 9# - Included intro text in single page view
10# - Added body in default view 10# - Added body in default view
11# stesie@
12# - removed copyright box
13# - removed "print more" box
11 14
12# set body 15# set body
13tidy: no 16tidy: no
@@ -15,6 +18,7 @@ tidy: no
15body: //div[@id="spArticleContent"] 18body: //div[@id="spArticleContent"]
16# body in default view 19# body in default view
17body: //div[@id="spArticleSection"] 20body: //div[@id="spArticleSection"]
21body: //div[contains(@class, 'article-section')] | //div[@id='js-article-top-wide-asset'] | //p[contains(@class, 'article-intro')] | //div[contains(@class, 'js-module-box-image')]
18# body in "Fotostrecke" 22# body in "Fotostrecke"
19body: //div[@id="spBigaContent"] 23body: //div[@id="spBigaContent"]
20 24
@@ -25,6 +29,8 @@ strip: //div[@id="spArticleContent"]/h3
25# set date in "Fotostrecke" 29# set date in "Fotostrecke"
26date: //div[@id="spBigaDatum"] 30date: //div[@id="spBigaDatum"]
27 31
32# title in default view
33title: //h2[contains(@class, 'article-title')]
28#set title in single page view 34#set title in single page view
29title: //div[@id='spArticleContent']/h2 35title: //div[@id='spArticleContent']/h2
30# strip title 36# strip title
@@ -49,7 +55,7 @@ strip: //*/div[@class='spCredit']/following-sibling::p
49strip: //div[@class='spMInline'] 55strip: //div[@class='spMInline']
50 56
51# remove photogalleries and extras 57# remove photogalleries and extras
52strip: //div[@class='spPhotoGallery'] 58strip: //div[contains(@class, 'spPhotoGallery')]
53strip: //div[@class='spPhotoGallery']/following-sibling::br 59strip: //div[@class='spPhotoGallery']/following-sibling::br
54strip: //div[@class='spAssetAlignleft'] 60strip: //div[@class='spAssetAlignleft']
55strip: //div[contains(@class,'spAsset')] 61strip: //div[contains(@class,'spAsset')]
@@ -67,9 +73,24 @@ strip: //div[@id='spBigaLatestEntries']
67strip: //div[contains(@class, 'spBigaNavi')] 73strip: //div[contains(@class, 'spBigaNavi')]
68strip: //div[@class='spDottedLine'] 74strip: //div[@class='spDottedLine']
69 75
76strip: //div[@class='asset-box article-print-more']
77strip: //div[@class='article-copyright']
78strip: //span[@class='image-buttons']
79
70# Use link to print article for single page view 80# Use link to print article for single page view
71single_page_link: //a[contains(@href, '-druck')] 81single_page_link: //a[contains(@href, '-druck')]
82if_page_contains: //div[contains(@class, 'multi-pager-control')]
83
84# Clean up title in print view
85find_string: <title>Druckversion -
86replace_string: <title>
72 87
73# use next link in "Fotostrecke" 88# use next link in "Fotostrecke"
74next_page_link: //a[@class='spBigaControlForw'] 89next_page_link: //a[@class='spBigaControlForw']
75test_url: http://www.spiegel.de/politik/deutschland/0,1518,787602,00.html \ No newline at end of file 90test_url: http://www.spiegel.de/politik/deutschland/0,1518,787602,00.html
91
92# regular article
93test_url: http://www.spiegel.de/wirtschaft/soziales/griechenland-was-den-griechischen-buergern-nun-droht-a-1042682.html
94
95# multipage article
96test_url: http://www.spiegel.de/spiegel/a-710880.html \ No newline at end of file