]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/3rdparty/site_config/standard/zeit.de.txt
minimum of control on server side added
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / zeit.de.txt
CommitLineData
ac4d1142
NL
1# 2012-12-23 [carlo@...] fixed half-assed headlines in articles, removed inline author profiles, adjusted picture captions\r
2# 2012-03-17 [dkless@...] Cut metadata parts in the beginning and the ends of the content block; copyright entries for pictures removed; Author fixed, not sure if old entries still valid (I left them); Weird problems with some pages addressed (see last section for removing hidden section)\r
3# 2011-12-09 [carlo@...] Removed "related articles" block\r
4# 2011-08-23 [carlo@...] changed single page link to use print version: page works better, less ambiguity. Related cleanups and simplifications.\r
5# 2011-08-20 [carlo@...] added author, fixed date\r
6\r
7\r
8single_page_link: //a[@title='Druckversion']\r
9tidy: no\r
10\r
11title: //title\r
12date: substring-before( //li[@class="date"], " " )\r
13author: //li[@class="author"]/a/text() | //li[@class="author first"]/a/text()\r
14author: substring-after(//li[@class='source first '], 'Quelle: ')\r
15\r
16strip_id_or_class: articleheader\r
17strip: //div[@id="comments"] | //div[@class="pagination block"] | //p[@class="ressortbacklink"] | //div[@id="relatedArticles"] | // div[@class="inline portrait"]\r
18\r
19#Removes author and date from the start\r
20strip: //ul[@class="tools"]\r
21#Removes copyright statement - often disturb as first line of the news\r
22strip: //p[@class="copyright"]\r
23strip: //div[@class="copyright"]\r
24#Removes pagination links at the end\r
25strip: //div[@class="pagination"]\r
26\r
27# Fix picture captions\r
28wrap_in(small): //p[@class="caption"]/text()\r
29\r
30# Fix sub-headlines\r
31wrap_in(h2): //p/strong\r
32dissolve: //h2/strong\r
33\r
34#Sometimes things are embedded in the print version that are not displayed on the web, but will be displayed in the mobilized versions and lead even to problems. These sections are removed here.\r
35strip_id_or_class:"informatives"\r
36strip_id_or_class:"bottom"\r
37strip_id_or_class:"teasermosaic"\r
38strip_id_or_class:"comments"\r
39strip_id_or_class:"articlefooter af"\r
40strip_id_or_class:"relateds"\r
41strip_id_or_class:"pagination"\r
42\r
43footnotes: no\r
44test_url: http://www.zeit.de/kultur/film/2012-12/Kurzfilmtag