aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/srf.ch.txt
diff options
context:
space:
mode:
Diffstat (limited to 'inc/3rdparty/site_config/standard/srf.ch.txt')
-rwxr-xr-xinc/3rdparty/site_config/standard/srf.ch.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/srf.ch.txt b/inc/3rdparty/site_config/standard/srf.ch.txt
new file mode 100755
index 00000000..d07a9050
--- /dev/null
+++ b/inc/3rdparty/site_config/standard/srf.ch.txt
@@ -0,0 +1,24 @@
1# Author: cirnod@gmail.com
2
3tidy: no
4prune: no
5
6body: //div[@id="article-content"]/p | //div[@class="main-article-content clearfix"]
7
8# General Cleanup
9strip_id_or_class: offscreen
10strip_id_or_class: video-description
11strip_id_or_class: v2 big-video
12strip_id_or_class: module smb freetext
13strip_id_or_class: asset span3
14strip_id_or_class: module smb related-links
15
16# fix image-galleries
17strip_id_or_class: module lightbox-gallery image hide
18replace_string(width="624"): width="100%"
19replace_string(height="468"): height="%"
20
21# Try yourself
22test_url: http://www.srf.ch/news/wirtschaft/weltbank-korrigiert-konjunktur-erwartungen-nach-unten
23test_url: http://www.srf.ch/news/wirtschaft/ural-statt-alpen-russische-touristen-bleiben-zuhause
24test_url: http://www.srf.ch/news/international/zwei-schweizer-bei-blutigem-attentat-in-mali-verletzt \ No newline at end of file