diff options
| author | zinnober <cinnabarit@mailbox.org> | 2014-08-24 18:24:02 +0200 |
|---|---|---|
| committer | zinnober <cinnabarit@mailbox.org> | 2014-08-24 18:24:02 +0200 |
| commit | d229c69ddd2ea3dbb6e8e171e711dd7f69905054 (patch) | |
| tree | b5550495f6b7f58fb5c0b537a71379f5bc83a639 /blogs.faz.net.txt | |
| parent | 4a211158d6844b1f6d121a0d0f76323eebd6a15c (diff) | |
| download | ftr-site-config-d229c69ddd2ea3dbb6e8e171e711dd7f69905054.tar.gz ftr-site-config-d229c69ddd2ea3dbb6e8e171e711dd7f69905054.zip | |
Complete rework du to redesign of faz.net + specific template for blogs.faz.net
Diffstat (limited to 'blogs.faz.net.txt')
| -rw-r--r-- | blogs.faz.net.txt | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/blogs.faz.net.txt b/blogs.faz.net.txt new file mode 100644 index 0000000..4f2626f --- /dev/null +++ b/blogs.faz.net.txt @@ -0,0 +1,45 @@ +# Author: zinnober + +tidy: no +prune: no + +# Set author +author: //a[@rel='author'] + +# Set date +date: //span[@class='Datum'] + +# Content is here +body: //div[@class='Artikel'] + +# Tidy up before article +strip: //div[@id='FAZHeaderNeu'] +strip: //h2[@itemprop='headline'] +strip: //span[@class='Datum'] +strip: //span[@class='Autor'] +strip_id_or_class: ArticlePagerTop +strip: //div[@class='FAZArtikelEinleitung']/h2 + +# General cleanup +strip: //div[@class='clear'] +strip: //span[@class='Bildnachweis'] +strip: //iframe +strip_id_or_class: Community +strip: ' ยท ' + +# Remove tracking and ads +strip_image_src: /l.gif? +strip: //img[@width='1'] +strip_id_or_class: invisible +strip_id_or_class: Anzeige +strip_id_or_class: billboard + +# Remove clutter after article +strip_id_or_class: Tagline +strip_id_or_class: ArtikelAbbinder +strip_id_or_class: FAZArtikelKommentare +strip_id_or_class: ArtikelKommentieren +strip_id_or_class: FAZContentRight + +# Try it yourself +test_url: http://blogs.faz.net/wost/2014/08/17/viel-fuck-und-wenig-guter-sex-1239/ |
