summaryrefslogtreecommitdiff
path: root/orf.at.txt
diff options
context:
space:
mode:
authorLukas Anzinger <lukas@lukasanzinger.at>2016-05-18 18:59:15 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2016-05-18 18:59:15 +0200
commit2308312087fa37460ae4d4898d78321a7f6ae651 (patch)
treefe572c1b2356934906ccf1d6da4f7a937508d474 /orf.at.txt
parentfa1be0ba669893a8de6b6906ce273043d27eaa7d (diff)
downloadftr-site-config-2308312087fa37460ae4d4898d78321a7f6ae651.tar.gz
ftr-site-config-2308312087fa37460ae4d4898d78321a7f6ae651.zip
ORF.at: Update siteconfig. (#158)
Diffstat (limited to 'orf.at.txt')
-rw-r--r--orf.at.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/orf.at.txt b/orf.at.txt
index ad3d7ce..dd0f20b 100644
--- a/orf.at.txt
+++ b/orf.at.txt
@@ -1,9 +1,10 @@
single_page_link: //div[@id='ss-storyText']//p[@class='readMore']/a
+single_page_link: //div[@id='ss-storyText']//p[contains(., 'Mehr dazu')]/a
title: substring-before(//title,' - ')
body: //div[@id="ss-storyText"]
-author: substring-before(//div[@id="ss-storyText"]//p[contains(text(), ', ORF.at')], ', ORF.at')
-strip: //div[@id="ss-storyText"]//p[contains(text(), ', ORF.at')]
+author: substring-before(//div[@id="ss-storyText"]//p[contains(text(), ', ORF')], ', ORF')
+strip: //div[@id="ss-storyText"]//p[contains(text(), ', ORF')]
date: substring-after(//div[@class='storyMeta socialshare']//p[@class='date'],'Publiziert am')
strip: //p[@class='date']
@@ -14,6 +15,8 @@ strip: //div[@class='socialButtons']
strip: //div[@class='storyMeta socialshare']
strip: //div[@class='socialShareWrapper']
strip: //div[@id='socialshareprivacy']
+strip: //div[@class='storyMeta']
+strip: //div[@class='remote']
prune: no
tidy: no
@@ -23,3 +26,7 @@ test_url: http://orf.at/stories/2084731/
test_url: http://orf.at/stories/2317313/2317311/
test_url: http://wien.orf.at/news/stories/2746414/
test_url: http://ooe.orf.at/news/stories/2750613/
+test_url: http://science.orf.at/stories/2774991/
+test_url: http://orf.at/stories/2339962/
+test_url: http://orf.at/stories/2339958/
+test_url: http://help.orf.at/stories/1770242/