summaryrefslogtreecommitdiff
path: root/orf.at.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2016-01-16 19:44:29 +0000
committerFiveFilters.org <fivefilters@fivefilters.org>2016-01-16 19:44:29 +0000
commit1b4a36613d5e4e0745e9f2117686af6d91b84605 (patch)
tree729864109fba5f7fe051734a1f7c1529ad0ec50f /orf.at.txt
parentebb9d631a76f360ff2f9baa780fcae80393d968e (diff)
parent572603492f12114a22c5070bcc08ab66420062b6 (diff)
downloadftr-site-config-1b4a36613d5e4e0745e9f2117686af6d91b84605.tar.gz
ftr-site-config-1b4a36613d5e4e0745e9f2117686af6d91b84605.zip
Merge pull request #122 from Lukas0907/master
Update site configs for ORF.at, derStandard.at and ZEIT.de
Diffstat (limited to 'orf.at.txt')
-rw-r--r--orf.at.txt30
1 files changed, 22 insertions, 8 deletions
diff --git a/orf.at.txt b/orf.at.txt
index fb4f218..ad3d7ce 100644
--- a/orf.at.txt
+++ b/orf.at.txt
@@ -1,11 +1,25 @@
-single_page_link: //div[@id='content']//p[@class='readMore']/a
+single_page_link: //div[@id='ss-storyText']//p[@class='readMore']/a
-title: //div[@class='hidden offscreen']/h2
-body: //div[@id="storyText"]
-move_into(//div[@id='storyText']): //div[@class='fact']
-strip: //small[@class='credit']
-strip: //small[@class='caption']
-date: substring-after(//div[@id='storyMeta']//p[@class='date'],'Publiziert am')
+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')]
+date: substring-after(//div[@class='storyMeta socialshare']//p[@class='date'],'Publiziert am')
+strip: //p[@class='date']
+
+strip: //p[@class='credit']
strip: //p[@class='toplink']
+strip: //div[@id="ss-storyText"]/h1
+strip: //div[@class='socialButtons']
+strip: //div[@class='storyMeta socialshare']
+strip: //div[@class='socialShareWrapper']
+strip: //div[@id='socialshareprivacy']
+
+prune: no
+tidy: no
-test_url: http://orf.at/stories/2084731/ \ No newline at end of file
+test_url: http://orf.at/stories/2317355/
+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/