__license__ = 'GPL v3'
from calibre.web.feeds.news import BasicNewsRecipe

class ZnadPlanszy(BasicNewsRecipe):
    title          = u'ZnadPlanszy.pl'
    __author__        = 'fenuks'
    description   = u''
    #publication_type = ''
    language       = 'pl'
    #encoding = ''
    #extra_css = ''
    cover_url = 'http://znadplanszy.pl/wp-content/uploads/2013/05/logo-znadplanszy.png'
    #masthead_url = ''
    use_embedded_content = False
    oldest_article = 14
    max_articles_per_feed = 100
    no_stylesheets = True
    remove_empty_feeds = True
    remove_javascript = True
    remove_attributes = ['style', 'font']
    ignore_duplicate_articles = {'title', 'url'}

    #keep_only_tags = [dict()]
    remove_tags = [dict(attrs={'class':'rounded-container'})]
    remove_tags_after = dict(attrs={'id':'dotEPUBcontent'})
    remove_tags_before = dict(attrs={'class':'content units nine alpha'})
    feeds = [(u'Wszystkie', 'http://znadplanszy.pl/full-feed/posts/')]