diff options
| author | Lukas Anzinger <lukas@lukasanzinger.at> | 2016-07-26 18:45:32 +0200 |
|---|---|---|
| committer | FiveFilters.org <fivefilters@fivefilters.org> | 2016-07-26 18:45:32 +0200 |
| commit | aa7b506bac610d5dfb2381d3bc0ecfa66c16c691 (patch) | |
| tree | 17a437f8594a90112ea5f8c13820e4f67eb2156a /futurezone.at.txt | |
| parent | 90ad909786b3cc18183696d634c09ac4be51bc61 (diff) | |
| download | ftr-site-config-aa7b506bac610d5dfb2381d3bc0ecfa66c16c691.tar.gz ftr-site-config-aa7b506bac610d5dfb2381d3bc0ecfa66c16c691.zip | |
Update futurezone.at and heise.de (#188)
* futurezone.at: Update site config.
* heise.de: Fix extraction of author and single page link.
Diffstat (limited to 'futurezone.at.txt')
| -rw-r--r-- | futurezone.at.txt | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/futurezone.at.txt b/futurezone.at.txt index 808c1f1..d975544 100644 --- a/futurezone.at.txt +++ b/futurezone.at.txt @@ -1,11 +1,21 @@ -date: //span[@class='date'] -strip: //div[@class='postsidebar'] -body: //div[@class='singlepost'] -title: //div[@class='singlepost']/h1 -move_into(//div[@class='singlepost']): //div[@class='info'] -strip: //div[@class='gallery'] -strip: //div[@class='biggallery'] -strip: //ul[@class='social'] -strip: //ul[@class='social_mail'] +single_page_link: //a[@class='print'] -test_url: http://futurezone.at/future/5502-erste-galileo-satelliten-starten-ins-all.php
\ No newline at end of file +parser: html5php +tidy: no +prune: no + +body: //article +strip: //section[@class='heroheader'] +strip: //section[contains(concat(' ', normalize-space(@class), ' '), ' tags ')] +strip: //div[@class='gallery-title-container'] +strip: //figcaption/span +strip: //div[contains(concat(' ', normalize-space(@class), ' '), ' controls ')] +strip: //i[@class='icon zoom'] + +author: normalize-space(substring-after(//article/p[1], 'Autor: ')) +strip: //article/p[1] + +date: substring-after(//div[contains(concat(' ', normalize-space(@class), ' '), ' editedby ')]/span, 'Erstellt am ') +strip: //div[contains(concat(' ', normalize-space(@class), ' '), ' editedby ')] + +test_url: http://futurezone.at/produkte/sony-xperia-x-im-test-mittelklasse-zum-premium-preis/209.178.838 |
