summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarmo <Marmo@users.noreply.github.com>2016-10-09 20:16:22 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2016-10-09 20:16:22 +0200
commit17c13978e76f92c197fda1fb62255adb875d0946 (patch)
tree5d4cfbf7ddc1365fac9278f5ae64290ea7d3a990
parent9e9f95db04b1f872911d50e9ffb9ca1ea127d743 (diff)
downloadftr-site-config-17c13978e76f92c197fda1fb62255adb875d0946.tar.gz
ftr-site-config-17c13978e76f92c197fda1fb62255adb875d0946.zip
Updated heise.de.txt to work with articles from heise.de/tp and heise.de/ct (#209)
* Update heise.de.txt for telepolis-articles Added single_page_link for printing versions in articles at heise.de/tp/ * Update heise.de.txt for ct-articles in articles at heise.de/ct there is no print/single-page-link, so a next_page_link is needed
-rwxr-xr-xheise.de.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/heise.de.txt b/heise.de.txt
index 71faa87..dd254bd 100755
--- a/heise.de.txt
+++ b/heise.de.txt
@@ -47,11 +47,15 @@ replace_string(<span class="bild_rechts" style="width:): <p "
replace_string(<div class="heisebox">): <blockquote>
single_page_link: //a[contains(@href, '?view=print')]
+single_page_link: //a[contains(@title, 'Druck')]
next_page_link: //a[@class='next']
next_page_link: //a[@title='vor']
+next_page_link: //a[@rel='next']
test_url: http://www.heise.de/open/artikel/Die-Neuerungen-von-Linux-3-15-2196231.html
test_url: http://m.heise.de/open/artikel/Die-Neuerungen-von-Linux-3-15-2196231.html
test_url: http://www.heise.de/newsticker/meldung/Ueberwachungstechnik-Die-globale-Handy-Standortueberwachung-2301494.html
test_url: http://www.heise.de/newsticker/meldung/Bodenradar-fuer-selbstfahrende-Autos-horcht-unter-die-Strasse-3273941.html
+test_url: http://www.heise.de/tp/artikel/49/49473/1.html
+test_url: http://www.heise.de/ct/artikel/Die-Neuerungen-von-Linux-3-15-2196231.html