diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2014-10-10 13:33:54 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2014-10-10 13:33:54 +0200 |
commit | 44d35257e805856b4913c63fcbed3c0acb64bae8 (patch) | |
tree | 11e9d276c34b1b287706cb61182bdc71729661e2 /inc/3rdparty/site_config/standard/spiegel.de.txt | |
parent | af8292c1de1886cd975d79f0f42df40e0bd1c5bd (diff) | |
parent | cf8a5e1eedbed484dbcb1ddc9f7a13fc19b7a27b (diff) | |
download | wallabag-44d35257e805856b4913c63fcbed3c0acb64bae8.tar.gz wallabag-44d35257e805856b4913c63fcbed3c0acb64bae8.tar.zst wallabag-44d35257e805856b4913c63fcbed3c0acb64bae8.zip |
Merge branch 'dev'1.8.0
Diffstat (limited to 'inc/3rdparty/site_config/standard/spiegel.de.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/spiegel.de.txt | 148 |
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 |
13 | tidy: no | 13 | tidy: no |
14 | # body in single page view | 14 | # body in single page view |
15 | body: //div[@id="spArticleContent"] | 15 | body: //div[@id="spArticleContent"] |
16 | # body in default view | 16 | # body in default view |
17 | body: //div[@id="spArticleSection"] | 17 | body: //div[@id="spArticleSection"] |
18 | # body in "Fotostrecke" | 18 | # body in "Fotostrecke" |
19 | body: //div[@id="spBigaContent"] | 19 | body: //div[@id="spBigaContent"] |
20 | 20 | ||
21 | # set date in single page view | 21 | # set date in single page view |
22 | date: //div[@id="spArticleContent"]/h3 | 22 | date: //div[@id="spArticleContent"]/h3 |
23 | # strip date | 23 | # strip date |
24 | strip: //div[@id="spArticleContent"]/h3 | 24 | strip: //div[@id="spArticleContent"]/h3 |
25 | # set date in "Fotostrecke" | 25 | # set date in "Fotostrecke" |
26 | date: //div[@id="spBigaDatum"] | 26 | date: //div[@id="spBigaDatum"] |
27 | 27 | ||
28 | #set title in single page view | 28 | #set title in single page view |
29 | title: //div[@id='spArticleContent']/h2 | 29 | title: //div[@id='spArticleContent']/h2 |
30 | # strip title | 30 | # strip title |
31 | strip: //div[@id='spArticleContent']/h1 | 31 | strip: //div[@id='spArticleContent']/h1 |
32 | strip: //div[@id='spArticleContent']/h2 | 32 | strip: //div[@id='spArticleContent']/h2 |
33 | #set title in "Fotostrecke" | 33 | #set title in "Fotostrecke" |
34 | title: //div[@class='spBigaHeadline'] | 34 | title: //div[@class='spBigaHeadline'] |
35 | 35 | ||
36 | # set author | 36 | # set author |
37 | author: //p[@class="spAuthor"]/a | 37 | author: //p[@class="spAuthor"]/a |
38 | author: substring-after(//p[@class="spAuthor"], 'Von ') | 38 | author: substring-after(//p[@class="spAuthor"], 'Von ') |
39 | # strip author | 39 | # strip author |
40 | strip: //p[@class='spAuthor'] | 40 | strip: //p[@class='spAuthor'] |
41 | 41 | ||
42 | # remove captions | 42 | # remove captions |
43 | strip: //*/span[@class='spPicLayerText'] | 43 | strip: //*/span[@class='spPicLayerText'] |
44 | strip: //*/div[@class='spPanoPlayerPaneControl'] | 44 | strip: //*/div[@class='spPanoPlayerPaneControl'] |
45 | strip: //*/div[@class='spCredit'] | 45 | strip: //*/div[@class='spCredit'] |
46 | strip: //*/div[@class='spCredit']/following-sibling::p | 46 | strip: //*/div[@class='spCredit']/following-sibling::p |
47 | 47 | ||
48 | # remove ads | 48 | # remove ads |
49 | strip: //div[@class='spMInline'] | 49 | strip: //div[@class='spMInline'] |
50 | 50 | ||
51 | # remove photogalleries and extras | 51 | # remove photogalleries and extras |
52 | strip: //div[@class='spPhotoGallery'] | 52 | strip: //div[@class='spPhotoGallery'] |
53 | strip: //div[@class='spPhotoGallery']/following-sibling::br | 53 | strip: //div[@class='spPhotoGallery']/following-sibling::br |
54 | strip: //div[@class='spAssetAlignleft'] | 54 | strip: //div[@class='spAssetAlignleft'] |
55 | strip: //div[contains(@class,'spAsset')] | 55 | strip: //div[contains(@class,'spAsset')] |
56 | strip: //br[@clear='all'] | 56 | strip: //br[@clear='all'] |
57 | 57 | ||
58 | # remove community functions | 58 | # remove community functions |
59 | strip: //div[@id='spSocialBookmark'] | 59 | strip: //div[@id='spSocialBookmark'] |
60 | strip: //div[contains(@class, 'spCommunityBox')] | 60 | strip: //div[contains(@class, 'spCommunityBox')] |
61 | strip: //div[contains(@class, 'spArticleNewsfeedBox')] | 61 | strip: //div[contains(@class, 'spArticleNewsfeedBox')] |
62 | strip: //div[@class='spArticleCredit'] | 62 | strip: //div[@class='spArticleCredit'] |
63 | 63 | ||
64 | # remove clutter in "Fotostrecke" | 64 | # remove clutter in "Fotostrecke" |
65 | strip: //div[@id='spBreadcrumb'] | 65 | strip: //div[@id='spBreadcrumb'] |
66 | strip: //div[@id='spBigaLatestEntries'] | 66 | strip: //div[@id='spBigaLatestEntries'] |
67 | strip: //div[contains(@class, 'spBigaNavi')] | 67 | strip: //div[contains(@class, 'spBigaNavi')] |
68 | strip: //div[@class='spDottedLine'] | 68 | strip: //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 |
71 | single_page_link: //a[contains(@href, '-druck')] | 71 | single_page_link: //a[contains(@href, '-druck')] |
72 | 72 | ||
73 | # use next link in "Fotostrecke" | 73 | # use next link in "Fotostrecke" |
74 | next_page_link: //a[@class='spBigaControlForw'] | 74 | next_page_link: //a[@class='spBigaControlForw'] |
75 | test_url: http://www.spiegel.de/politik/deutschland/0,1518,787602,00.html \ No newline at end of file | 75 | test_url: http://www.spiegel.de/politik/deutschland/0,1518,787602,00.html \ No newline at end of file |