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-x[-rw-r--r--]inc/3rdparty/site_config/standard/spiegel.de.txt148
1 files changed, 74 insertions, 74 deletions
diff --git a/inc/3rdparty/site_config/standard/spiegel.de.txt b/inc/3rdparty/site_config/standard/spiegel.de.txt
index 390c075c..413e0155 100644..100755
--- a/inc/3rdparty/site_config/standard/spiegel.de.txt
+++ b/inc/3rdparty/site_config/standard/spiegel.de.txt
@@ -1,75 +1,75 @@
1# A. Niepel, narya.de@... 1# A. Niepel, narya.de@...
2# - added single_page_link 2# - added single_page_link
3# - added author for default and single page view 3# - added author for default and single page view
4# - added date for single page view 4# - added date for single page view
5# fforst@... 5# fforst@...
6# - Fixed it 6# - Fixed it
7# bode2104@... 7# bode2104@...
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 11
12# set body 12# set body
13tidy: no 13tidy: no
14# body in single page view 14# body in single page view
15body: //div[@id="spArticleContent"] 15body: //div[@id="spArticleContent"]
16# body in default view 16# body in default view
17body: //div[@id="spArticleSection"] 17body: //div[@id="spArticleSection"]
18# body in "Fotostrecke" 18# body in "Fotostrecke"
19body: //div[@id="spBigaContent"] 19body: //div[@id="spBigaContent"]
20 20
21# set date in single page view 21# set date in single page view
22date: //div[@id="spArticleContent"]/h3 22date: //div[@id="spArticleContent"]/h3
23# strip date 23# strip date
24strip: //div[@id="spArticleContent"]/h3 24strip: //div[@id="spArticleContent"]/h3
25# set date in "Fotostrecke" 25# set date in "Fotostrecke"
26date: //div[@id="spBigaDatum"] 26date: //div[@id="spBigaDatum"]
27 27
28#set title in single page view 28#set title in single page view
29title: //div[@id='spArticleContent']/h2 29title: //div[@id='spArticleContent']/h2
30# strip title 30# strip title
31strip: //div[@id='spArticleContent']/h1 31strip: //div[@id='spArticleContent']/h1
32strip: //div[@id='spArticleContent']/h2 32strip: //div[@id='spArticleContent']/h2
33#set title in "Fotostrecke" 33#set title in "Fotostrecke"
34title: //div[@class='spBigaHeadline'] 34title: //div[@class='spBigaHeadline']
35 35
36# set author 36# set author
37author: //p[@class="spAuthor"]/a 37author: //p[@class="spAuthor"]/a
38author: substring-after(//p[@class="spAuthor"], 'Von ') 38author: substring-after(//p[@class="spAuthor"], 'Von ')
39# strip author 39# strip author
40strip: //p[@class='spAuthor'] 40strip: //p[@class='spAuthor']
41 41
42# remove captions 42# remove captions
43strip: //*/span[@class='spPicLayerText'] 43strip: //*/span[@class='spPicLayerText']
44strip: //*/div[@class='spPanoPlayerPaneControl'] 44strip: //*/div[@class='spPanoPlayerPaneControl']
45strip: //*/div[@class='spCredit'] 45strip: //*/div[@class='spCredit']
46strip: //*/div[@class='spCredit']/following-sibling::p 46strip: //*/div[@class='spCredit']/following-sibling::p
47 47
48# remove ads 48# remove ads
49strip: //div[@class='spMInline'] 49strip: //div[@class='spMInline']
50 50
51# remove photogalleries and extras 51# remove photogalleries and extras
52strip: //div[@class='spPhotoGallery'] 52strip: //div[@class='spPhotoGallery']
53strip: //div[@class='spPhotoGallery']/following-sibling::br 53strip: //div[@class='spPhotoGallery']/following-sibling::br
54strip: //div[@class='spAssetAlignleft'] 54strip: //div[@class='spAssetAlignleft']
55strip: //div[contains(@class,'spAsset')] 55strip: //div[contains(@class,'spAsset')]
56strip: //br[@clear='all'] 56strip: //br[@clear='all']
57 57
58# remove community functions 58# remove community functions
59strip: //div[@id='spSocialBookmark'] 59strip: //div[@id='spSocialBookmark']
60strip: //div[contains(@class, 'spCommunityBox')] 60strip: //div[contains(@class, 'spCommunityBox')]
61strip: //div[contains(@class, 'spArticleNewsfeedBox')] 61strip: //div[contains(@class, 'spArticleNewsfeedBox')]
62strip: //div[@class='spArticleCredit'] 62strip: //div[@class='spArticleCredit']
63 63
64# remove clutter in "Fotostrecke" 64# remove clutter in "Fotostrecke"
65strip: //div[@id='spBreadcrumb'] 65strip: //div[@id='spBreadcrumb']
66strip: //div[@id='spBigaLatestEntries'] 66strip: //div[@id='spBigaLatestEntries']
67strip: //div[contains(@class, 'spBigaNavi')] 67strip: //div[contains(@class, 'spBigaNavi')]
68strip: //div[@class='spDottedLine'] 68strip: //div[@class='spDottedLine']
69 69
70# Use link to print article for single page view 70# Use link to print article for single page view
71single_page_link: //a[contains(@href, '-druck')] 71single_page_link: //a[contains(@href, '-druck')]
72 72
73# use next link in "Fotostrecke" 73# use next link in "Fotostrecke"
74next_page_link: //a[@class='spBigaControlForw'] 74next_page_link: //a[@class='spBigaControlForw']
75test_url: http://www.spiegel.de/politik/deutschland/0,1518,787602,00.html \ No newline at end of file 75test_url: http://www.spiegel.de/politik/deutschland/0,1518,787602,00.html \ No newline at end of file