# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
from __future__ import unicode_literals
from calibre.web.feeds.recipes import BasicNewsRecipe

class nfpkRecipe(BasicNewsRecipe):
    __author__  = 'bubak'
    title = u'Nadační fond proti korupci'
    publisher = u''
    description = 'nfpk.cz'
    oldest_article = 7
    max_articles_per_feed = 20
    use_embedded_content = False
    remove_empty_feeds = True

    feeds = [
            (u'Aktuality', u'http://feeds.feedburner.com/nfpk')
            ]


    #encoding = 'iso-8859-2'
    language = 'cs'
    cover_url = 'http://www.nfpk.cz/_templates/nfpk/_images/logo.gif'
    remove_javascript = True
    no_stylesheets = True
    extra_css             = """
                            """

    remove_attributes = []
    keep_only_tags = [dict(name='div', attrs={'id':'content'})]

