Read Podnikatel on your iPad or Kindle in no time. Click download to load the free ebook on your reader.

Check out all the available public recipes or write your own with these quick start guides. ReadBeam is built on calibre, so everything in the docs and the fora applies here as well.

Download for free »

Aktuality a články z Podnikatel.cz

Language: cs

Requires Subscription: No, it's available as free ebook

Schedule Every morning

			  __license__   = 'GPL v3'
__copyright__ = '2011, Tomas Latal<latal.tomas at gmail.com>'

from calibre.web.feeds.news import BasicNewsRecipe

class PodnikatelCZ(BasicNewsRecipe):
    title                   = 'Podnikatel'
    __author__              = 'Tomas Latal'
    __version__             = '1.0'
    __date__                = '30 April 2011'
    description             = u'Aktuality a \u010dl\xe1nky z Podnikatel.cz'
    oldest_article          = 1
    max_articles_per_feed   = 10
    encoding                = 'utf8'
    publisher               = 'Internet Info s.r.o.'
    category                = 'podnikani, bussiness, CZ'
    language                = 'cs'
    publication_type        = 'newsportal'
    no_stylesheets          = True
    remove_javascript       = True
    extra_css               = 'p.perex{font-size: 1.2em; margin: 0 0 10px 0;line-height: 1.4;padding: 0 0 10px 0;font-weight: bold;} \
                               p.perex img {display:none;} \
                               .urs p {margin: 0 0 0.8em 0;}'

    feeds          = [
                        (u'Aktuality', u'http://rss.podnikatel.cz/aktuality'),
                        (u'\u010cl\xe1nky', u'http://rss.podnikatel.cz/clanky')
                    ]

    remove_tags_before = dict(id='art-content')

    remove_tags_after = [dict(id='art-content')]

    remove_tags = [
                    dict(attrs={'class':['socialshare','box-blue','author clear','labels-terms','box diskuze','ad','page-nav right','infobox','box zpravy','s-clanky']}),
                    dict(id=['path','article-tools','discussionList','similarItems','promo-box'])
                  ]