Read Ziarul Financiar 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 »

Știri din Business

Language: ro

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

Schedule Every morning

			  # -*- coding: utf-8 -*-
#!/usr/bin/env  python

__license__   = 'GPL v3'
__copyright__ = u'2011, Silviu Cotoar\u0103'
'''
zf.ro
'''

from calibre.web.feeds.news import BasicNewsRecipe

class ZiarulFinanciar(BasicNewsRecipe):
    title                 = 'Ziarul Financiar'
    __author__            = u'Silviu Cotoar\u0103'
    description           = u'\u0218tiri din Business'
    publisher             = 'Ziarul Financiar'
    oldest_article        = 5
    language              = 'ro'
    max_articles_per_feed = 100
    no_stylesheets        = True
    use_embedded_content  = False
    category              = 'Ziare,Stiri,Romania'
    encoding              = 'utf-8'
    cover_url         = 'http://storage0.dms.mpinteractiv.ro/media/1/1/1706/7462721/1/ziarul-financiar-big.jpg?width=400'

    conversion_options = {
                             'comments'   : description
                            ,'tags'       : category
                            ,'language'   : language
                ,'publisher'  : publisher
                         }

    keep_only_tags = [
            dict(name='div', attrs={'class':'article'})
                     ]

    feeds          = [
            (u'\u0218tiri', u'http://www.zf.ro/rss/zf-24/')
                 ]

    def preprocess_html(self, soup):
        return self.adeify_images(soup)