# vim:fileencoding=utf-8
from __future__ import unicode_literals

from calibre.web.feeds.news import BasicNewsRecipe


class Nachdenkseiten(BasicNewsRecipe):
    title = 'Nachdenkseiten'
    __author__ = 'jrda'
    publisher = 'www.nachdenkseiten.de Albrecht Mueller und Dr. Wolfgang Lieb'
    description = 'NachDenkSeiten - Die kritische Website'
    category = 'news'
    oldest_article = 1
    use_embedded_content = False
    language = 'de'
    timefmt = '[%a, %d %b, %Y]'
    max_articles_per_feed = 20
    no_stylesheets = True
    encoding = 'utf-8'
    remove_javascript = True
    keep_only_tags = [{'id': 'content'}]

    feeds = [
        ('News', 'http://www.nachdenkseiten.de/?feed=rss2'),
    ]
