diff options
| author | FiveFilters.org <fivefilters@fivefilters.org> | 2014-09-03 18:19:02 +0200 |
|---|---|---|
| committer | FiveFilters.org <fivefilters@fivefilters.org> | 2014-09-03 18:19:02 +0200 |
| commit | dc14ea52a2713a0e1fefcedbe754c904258e907f (patch) | |
| tree | 724d75721814de16e98f14011a9565110f96486e /deutsche-apotheker-zeitung.de.txt | |
| parent | 835c73e4773df6086249d34ff4bfd4c491cc5a2c (diff) | |
| parent | f5412e437528233bc9a941224d891a5ea9b8b3b1 (diff) | |
| download | ftr-site-config-dc14ea52a2713a0e1fefcedbe754c904258e907f.tar.gz ftr-site-config-dc14ea52a2713a0e1fefcedbe754c904258e907f.zip | |
Merge pull request #46 from zinnober/contributions
Three new templates
Diffstat (limited to 'deutsche-apotheker-zeitung.de.txt')
| -rw-r--r-- | deutsche-apotheker-zeitung.de.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/deutsche-apotheker-zeitung.de.txt b/deutsche-apotheker-zeitung.de.txt new file mode 100644 index 0000000..36709ca --- /dev/null +++ b/deutsche-apotheker-zeitung.de.txt @@ -0,0 +1,29 @@ +# Author: zinnober + +prune: yes +tidy: yes + +title: //h1 +date: //p[@class='news_datum'] +author: //span[@class='author'] + +body: //div[@class='tagesnews-content'] + +# General clenaup +strip_id_or_class: dachzeile +strip: //h3 +strip: //p[@class='bodytext']//a +strip_id_or_class: autor_datum +strip_id_or_class: comments +strip_id_or_class: banner- + +strip: //p[contains(., 'Lesen Sie')] +strip: //p[contains(., '– in DAZ')] + +# Fix image captions +replace_string(<p class="image_caption">): <p><small><em> +replace_string(</dd>): </em></small></dd> + +test_url: http://www.deutsche-apotheker-zeitung.de/pharmazie/news/2014/09/03/weniger-nebenwirkungen-aber-kein-zusatznutzen/13715.html +test_url: http://www.deutsche-apotheker-zeitung.de/recht/news/2014/09/02/urteile-zum-cannabis-eigenanbau-bfarm-geht-in-berufung/13716.html + |
