__license__ = 'GPL v3'
__copyright__ = 'MrStefan'

'''
www.ittechblog.pl
'''

from calibre.web.feeds.news import BasicNewsRecipe


class ittechblog(BasicNewsRecipe):
    title = u'IT techblog'
    __author__ = 'MrStefan <mrstefaan@gmail.com>'
    language = 'pl'
    description = u'Na naszym blogu technologicznym znajdziesz między innymi: testy sprzętu, najnowsze startupy, technologiczne nowinki, felietony tematyczne.'
    extra_css = '.cover > img {display:block;}'
    remove_empty_feeds = True
    oldest_article = 7
    max_articles_per_feed = 100
    remove_javascript = True
    no_stylesheets = True
    use_embedded_content = False

    keep_only_tags = [dict(attrs={'class': 'box'})]
    remove_tags = [dict(name='aside'), dict(
        attrs={'class': ['tags', 'counter', 'twitter-share-button']})]

    feeds = [(u'Artykuły', u'http://feeds.feedburner.com/ITTechBlog?format=xml')]
