summaryrefslogtreecommitdiff
path: root/.orf.at.txt
diff options
context:
space:
mode:
authorLukas Anzinger <lukas@lukasanzinger.at>2015-12-31 08:05:20 +0100
committerLukas Anzinger <lukas@lukasanzinger.at>2016-01-04 18:45:47 +0100
commitf6d8d5cc8b5a1156faa7859c3eb171c9a710a190 (patch)
treea6d04ccda72eb7b86265ec6219d9eeda503f9da0 /.orf.at.txt
parent7e2e4967a3885cd0c45469ecf6c0547f8c3ab722 (diff)
downloadftr-site-config-f6d8d5cc8b5a1156faa7859c3eb171c9a710a190.tar.gz
ftr-site-config-f6d8d5cc8b5a1156faa7859c3eb171c9a710a190.zip
Update site config for {news.,}ORF.at
Diffstat (limited to '.orf.at.txt')
-rw-r--r--.orf.at.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/.orf.at.txt b/.orf.at.txt
new file mode 100644
index 0000000..ad3d7ce
--- /dev/null
+++ b/.orf.at.txt
@@ -0,0 +1,25 @@
+single_page_link: //div[@id='ss-storyText']//p[@class='readMore']/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')]
+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/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/