#!/usr/bin/env  python2

__license__ = 'GPL v3'
__copyright__ = '2010, Tomasz Dlugosz <tomek3d@gmail.com>'
'''
michalkiewicz.pl
'''

from calibre.web.feeds.news import BasicNewsRecipe


class michalkiewicz(BasicNewsRecipe):
    title = u'Stanis\u0142aw Michalkiewicz'
    description = u'Strona autorska * felietony * artyku\u0142y * komentarze'
    __author__ = u'Tomasz D\u0142ugosz'
    language = 'pl'
    oldest_article = 7
    max_articles_per_feed = 100
    no_stylesheets = True

    keep_only_tags = [dict(name='div', attrs={'class': 'modul_srodek'})]
    remove_tags = [dict(name='ul', attrs={'class': 'menu'})]

    feeds = [(u'Teksty', u'http://www.michalkiewicz.pl/rss.xml')]
