#!/usr/bin/env  python

__license__   = 'GPL v3'
__copyright__ = u'2010, Tomasz Dlugosz <tomek3d@gmail.com>'
'''
eksiazki.org
'''

from calibre.web.feeds.news import BasicNewsRecipe

class eksiazki(BasicNewsRecipe):

    title          = u'eKsiazki.org'
    description    = u'Twoje centrum wiedzy o ePapierze i eBookach'
    language = 'pl'
    __author__ = u'Tomasz D\u0142ugosz'
    no_stylesheets = True
    remove_javascript = True

    feeds          = [(u'eKsiazki.org', u'http://www.eksiazki.org/feed/')]

    keep_only_tags = [dict(name='div', attrs={'id':'content-body'})]
    remove_tags = [
        dict(name='span', attrs={'class':'nr_comm'}),
        dict(name='div', attrs={'id':'tabsContainer'}),
        dict(name='div', attrs={'class':'next_previous_links'})]
