]> git.immae.eu Git - github/wallabag/wallabag.git/blob - inc/3rdparty/site_config/standard/heise.de.txt
9433104b0077b28ae3fec092cf9a1930eab18c06
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / heise.de.txt
1 # Author: zinnober
2 # Template should work well with either desktop or mobile version (m.heise.de)
3
4 prune: no
5
6 title: //article/h1 | //h1
7 date: //p[@class='news_datum']
8 author: //h4[@class='author']
9
10 body: //article | //div[@class='meldung_wrapper']
11
12 # General cleanup
13 strip: //time
14 strip: //h4[@class='author']
15 strip: //p[@class='news_datum']
16 strip: //p[@class='artikel_datum']
17 strip: //a[contains(@href, 'mailto')]
18 strip_id_or_class: comments
19 strip_id_or_class: ISI_IGNORE
20 strip_id_or_class: clear
21
22 strip_id_or_class: linkurl_grossbild
23 strip_id_or_class: image-num
24 strip_id_or_class: heisebox_right
25 strip_id_or_class: dossier
26
27 # Strip Ads
28 strip_id_or_class: ad_
29
30 # Some optimizations
31 replace_string(<h5>): <h2>
32 replace_string(</h5>): </h2>
33 replace_string(<span class="bild_rechts"): <p
34 replace_string(<div class="heisebox">): <blockquote>
35
36
37 next_page_link: //a[@class='next']
38 next_page_link: //a[@title='vor']
39
40 test_url: http://www.heise.de/open/artikel/Die-Neuerungen-von-Linux-3-15-2196231.html
41 test_url: http://m.heise.de/open/artikel/Die-Neuerungen-von-Linux-3-15-2196231.html
42 test_url: http://www.heise.de/newsticker/meldung/Ueberwachungstechnik-Die-globale-Handy-Standortueberwachung-2301494.html