From df66ecc064bf10658701c2fe4e8f302b43c066e2 Mon Sep 17 00:00:00 2001 From: Lukas Anzinger Date: Thu, 31 Dec 2015 09:32:55 +0100 Subject: fm4.orf.at: Fix date, author and side notes ("facts") --- fm4.orf.at.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/fm4.orf.at.txt b/fm4.orf.at.txt index 5db3e58..0c8bf57 100644 --- a/fm4.orf.at.txt +++ b/fm4.orf.at.txt @@ -1,7 +1,13 @@ author: //div[@class='authorDescription']/h2 body: //div[@id='story'] -date: substring-before(substring-after(//p[@class='date'],'Erstellt am:'), '-') title: //h1[@class='detail'] -strip: //div[@class='fact'] -test_url: http://fm4.orf.at/stories/1689156/ \ No newline at end of file +date: translate(translate(substring-before(substring-after(//p[@class='date'],'Erstellt am:'), ' Uhr'), '. ', '.'), '-', ' ') +strip: //p[@class='date'] + +strip: //p[@class='credit'] + +tidy: no +prune: no + +test_url: http://fm4.orf.at/stories/1689156/ -- cgit v1.3.1