summaryrefslogtreecommitdiff
path: root/srf.ch.txt
diff options
context:
space:
mode:
authorcirnod <cirnod@gmail.com>2015-03-07 23:05:23 +0100
committercirnod <cirnod@gmail.com>2015-03-07 23:05:23 +0100
commitea56e0ddb9408e25cc5692863e37e97621d9d6e8 (patch)
treebe651db5435b676df9280a39c094ed4a8b4f9862 /srf.ch.txt
parent45ff91859b99d8e132fca0afddb85a7581858044 (diff)
downloadftr-site-config-ea56e0ddb9408e25cc5692863e37e97621d9d6e8.tar.gz
ftr-site-config-ea56e0ddb9408e25cc5692863e37e97621d9d6e8.zip
Three new site-config files: srf.ch, tagesanzeiger.ch, derbund.ch
Diffstat (limited to 'srf.ch.txt')
-rwxr-xr-xsrf.ch.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/srf.ch.txt b/srf.ch.txt
new file mode 100755
index 0000000..d07a905
--- /dev/null
+++ b/srf.ch.txt
@@ -0,0 +1,24 @@
+# Author: cirnod@gmail.com
+
+tidy: no
+prune: no
+
+body: //div[@id="article-content"]/p | //div[@class="main-article-content clearfix"]
+
+# General Cleanup
+strip_id_or_class: offscreen
+strip_id_or_class: video-description
+strip_id_or_class: v2 big-video
+strip_id_or_class: module smb freetext
+strip_id_or_class: asset span3
+strip_id_or_class: module smb related-links
+
+# fix image-galleries
+strip_id_or_class: module lightbox-gallery image hide
+replace_string(width="624"): width="100%"
+replace_string(height="468"): height="%"
+
+# Try yourself
+test_url: http://www.srf.ch/news/wirtschaft/weltbank-korrigiert-konjunktur-erwartungen-nach-unten
+test_url: http://www.srf.ch/news/wirtschaft/ural-statt-alpen-russische-touristen-bleiben-zuhause
+test_url: http://www.srf.ch/news/international/zwei-schweizer-bei-blutigem-attentat-in-mali-verletzt \ No newline at end of file