From ea56e0ddb9408e25cc5692863e37e97621d9d6e8 Mon Sep 17 00:00:00 2001 From: cirnod Date: Sat, 7 Mar 2015 23:05:23 +0100 Subject: Three new site-config files: srf.ch, tagesanzeiger.ch, derbund.ch --- derbund.ch.txt | 13 +++++++++++++ srf.ch.txt | 24 ++++++++++++++++++++++++ tagesanzeiger.ch.txt | 14 ++++++++++++++ 3 files changed, 51 insertions(+) create mode 100755 derbund.ch.txt create mode 100755 srf.ch.txt create mode 100755 tagesanzeiger.ch.txt diff --git a/derbund.ch.txt b/derbund.ch.txt new file mode 100755 index 0000000..1363eff --- /dev/null +++ b/derbund.ch.txt @@ -0,0 +1,13 @@ +# Author: cirnod@gmail.com + +tidy: no +prune: no + +body: //div[@id="article"]/h3 | //*[@id="mainContent"] + +# General Cleanup +#strip_id_or_class: info_panel + + +# Try yourself +test_url: http://www.derbund.ch/bern/nachrichten/Fossilienforscher-stehen-auf-Heavy-Metal/story/20919522 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 diff --git a/tagesanzeiger.ch.txt b/tagesanzeiger.ch.txt new file mode 100755 index 0000000..45c5cd0 --- /dev/null +++ b/tagesanzeiger.ch.txt @@ -0,0 +1,14 @@ +# Author: cirnod@gmail.com + +tidy: no +prune: no + +body: //div[@id="article"]/h3 | //*[@id="mainContent"] + +# General Cleanup +#strip_id_or_class: info_panel + + +# Try yourself +test_url: http://www.tagesanzeiger.ch/zuerich/stadt/Nach-spektakulaerer-Abseilaktion-verhaftet/story/18039895 +test_url: http://www.tagesanzeiger.ch/ausland/naher-osten-und-afrika/IS-zerstoert-auch-das-antike-Hatra/story/19865699 -- cgit v1.3.1