diff options
Diffstat (limited to 'inc/3rdparty/site_config/standard/srf.ch.txt')
-rwxr-xr-x | inc/3rdparty/site_config/standard/srf.ch.txt | 24 |
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 | |||
3 | tidy: no | ||
4 | prune: no | ||
5 | |||
6 | body: //div[@id="article-content"]/p | //div[@class="main-article-content clearfix"] | ||
7 | |||
8 | # General Cleanup | ||
9 | strip_id_or_class: offscreen | ||
10 | strip_id_or_class: video-description | ||
11 | strip_id_or_class: v2 big-video | ||
12 | strip_id_or_class: module smb freetext | ||
13 | strip_id_or_class: asset span3 | ||
14 | strip_id_or_class: module smb related-links | ||
15 | |||
16 | # fix image-galleries | ||
17 | strip_id_or_class: module lightbox-gallery image hide | ||
18 | replace_string(width="624"): width="100%" | ||
19 | replace_string(height="468"): height="%" | ||
20 | |||
21 | # Try yourself | ||
22 | test_url: http://www.srf.ch/news/wirtschaft/weltbank-korrigiert-konjunktur-erwartungen-nach-unten | ||
23 | test_url: http://www.srf.ch/news/wirtschaft/ural-statt-alpen-russische-touristen-bleiben-zuhause | ||
24 | test_url: http://www.srf.ch/news/international/zwei-schweizer-bei-blutigem-attentat-in-mali-verletzt \ No newline at end of file | ||