diff options
| author | Lukas Anzinger <lukas@lukasanzinger.at> | 2015-12-31 09:32:55 +0100 |
|---|---|---|
| committer | Lukas Anzinger <lukas@lukasanzinger.at> | 2016-01-05 02:16:07 +0100 |
| commit | df66ecc064bf10658701c2fe4e8f302b43c066e2 (patch) | |
| tree | abb4b9bf0a08256723db9b07aec6f82fab174a73 | |
| parent | f6d8d5cc8b5a1156faa7859c3eb171c9a710a190 (diff) | |
| download | ftr-site-config-df66ecc064bf10658701c2fe4e8f302b43c066e2.tar.gz ftr-site-config-df66ecc064bf10658701c2fe4e8f302b43c066e2.zip | |
fm4.orf.at: Fix date, author and side notes ("facts")
| -rw-r--r-- | fm4.orf.at.txt | 12 |
1 files 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/ |
