Read Freakonomics Blog 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 »

The Hidden side of everything

Language: en

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

Schedule Every morning

			  #!/usr/bin/env  python
__license__   = 'GPL v3'
__copyright__ = '2011, Starson17'
__docformat__ = 'restructuredtext en'

from calibre.web.feeds.news import BasicNewsRecipe

class Freakonomics(BasicNewsRecipe):
    title = 'Freakonomics Blog'
    description = 'The Hidden side of everything'
    __author__          = 'Starson17'
    __version__         = '1.02'
    __date__            = '11 July 2011'
    language = 'en'
    cover_url           = 'http://ilkerugur.files.wordpress.com/2009/04/freakonomics.jpg'
    use_embedded_content= False
    no_stylesheets      = True
    oldest_article      = 30
    remove_javascript   = True
    remove_empty_feeds    = True
    max_articles_per_feed = 50

    feeds = [(u'Freakonomics Blog', u'http://www.freakonomics.com/feed/')]
    keep_only_tags = [dict(name='div', attrs={'id':['content']})]
    remove_tags_after = [dict(name='div', attrs={'class':['simple_socialmedia']})]
    remove_tags = [dict(name='div', attrs={'class':['simple_socialmedia','single-fb-share','wp-polls']})]
    extra_css = '''
                    h1{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;}
                    h2{font-family:Arial,Helvetica,sans-serif; font-weight:normal;font-size:small;}
                    p{font-family:Arial,Helvetica,sans-serif;font-size:small;}
                    body{font-family:Helvetica,Arial,sans-serif;font-size:small;}
		'''