diff options
| author | zinnober <cinnabarit@mailbox.org> | 2014-09-03 12:30:34 +0200 |
|---|---|---|
| committer | zinnober <cinnabarit@mailbox.org> | 2014-09-03 12:30:34 +0200 |
| commit | f5412e437528233bc9a941224d891a5ea9b8b3b1 (patch) | |
| tree | 7a97bdbf9122e5dfb20213cc1fd09291c7ca2121 | |
| parent | 690c7a5da243cea707392efa7db09a35bd7a67e5 (diff) | |
| download | ftr-site-config-f5412e437528233bc9a941224d891a5ea9b8b3b1.tar.gz ftr-site-config-f5412e437528233bc9a941224d891a5ea9b8b3b1.zip | |
Initial commit
| -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 + |
