diff options
author | Thomas Citharel <tcit@tcit.fr> | 2014-10-27 09:28:30 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2014-10-27 09:28:30 +0100 |
commit | 24479b479d6a9fc406c92def1f7609fbfa142bcd (patch) | |
tree | 8cf17d3e8a13bf21d9709c1df7c790107ab5c1f9 /inc/3rdparty/site_config/standard/heise.de.txt | |
parent | 4a50075784bb13ed0764a8a175779d9683782846 (diff) | |
parent | 90a1a78b1e2f4d40e1d9b8e6f46aca129a9d7bcf (diff) | |
download | wallabag-24479b479d6a9fc406c92def1f7609fbfa142bcd.tar.gz wallabag-24479b479d6a9fc406c92def1f7609fbfa142bcd.tar.zst wallabag-24479b479d6a9fc406c92def1f7609fbfa142bcd.zip |
Merge pull request #888 from wallabag/updated-site-config
updated site_config
Diffstat (limited to 'inc/3rdparty/site_config/standard/heise.de.txt')
-rwxr-xr-x | inc/3rdparty/site_config/standard/heise.de.txt | 45 |
1 files changed, 39 insertions, 6 deletions
diff --git a/inc/3rdparty/site_config/standard/heise.de.txt b/inc/3rdparty/site_config/standard/heise.de.txt index 37a4aaf0..9433104b 100755 --- a/inc/3rdparty/site_config/standard/heise.de.txt +++ b/inc/3rdparty/site_config/standard/heise.de.txt | |||
@@ -1,9 +1,42 @@ | |||
1 | #second part of single_page_link for telepolis-articles (desktop-version of site) | 1 | # Author: zinnober |
2 | single_page_link: //p[@class='news_option']/a | //a[@id='tp-druckversion'] | 2 | # Template should work well with either desktop or mobile version (m.heise.de) |
3 | 3 | ||
4 | prune: no | ||
5 | |||
6 | title: //article/h1 | //h1 | ||
4 | date: //p[@class='news_datum'] | 7 | date: //p[@class='news_datum'] |
5 | title: //h1 | 8 | author: //h4[@class='author'] |
6 | body: //div[@class='meldung_wrapper'] | 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'] | ||
7 | 39 | ||
8 | test_url: http://www.heise.de/newsticker/meldung/Europa-soll-Grundrechteschutz-im-Netz-staerken-1392664.html | 40 | test_url: http://www.heise.de/open/artikel/Die-Neuerungen-von-Linux-3-15-2196231.html |
9 | test_url: http://www.heise.de/tp/artikel/42/42579/1.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 | ||