Read Not A Blog - George R.R. Martin 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 »

George R.R. Martin

Language: en

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

Schedule Every morning

			  
__license__   = 'GPL v3'
__copyright__ = '2011, Darko Miletic <darko.miletic at gmail.com>'
'''
grrm.livejournal.com
'''

from calibre.web.feeds.news import BasicNewsRecipe

class NotABlog(BasicNewsRecipe):
    title                 = 'Not A Blog - George R.R. Martin'
    __author__            = 'Darko Miletic'
    description           = 'George R.R. Martin'
    oldest_article        = 15
    max_articles_per_feed = 100
    language              = 'en'
    encoding              = 'utf-8'
    no_stylesheets        = True
    use_embedded_content  = True
    publication_type      = 'blog'

    conversion_options = {
                          'comment'  : description
                        , 'tags'     : 'sf, fantasy, game of thrones'
                        , 'publisher': 'George R.R. Martin'
                        , 'language' : language
                        }

    feeds = [(u'Posts', u'http://grrm.livejournal.com/data/rss')]

    def preprocess_html(self, soup):
        for item in soup.findAll(style=True):
            del item['style']
        return self.adeify_images(soup)