Read EPL Talk 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 »

News and Analysis from the English Premier League

Language: en

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

Schedule Every morning

			  #!/usr/bin/env  python
__license__ = 'GPL 3'
__copyright__ = 'zotzo'
__docformat__ = 'restructuredtext en'
'''
http://www.epltalk.com
'''
from calibre.web.feeds.news import BasicNewsRecipe


class EPLTalkRecipe(BasicNewsRecipe):
    language = 'en'
    version = 2
    __author__ = 'rylsfan'

    title = u'EPL Talk'
    publisher = u'The Gaffer'
    publication_type = 'Blog'
    category = u'Soccer'
    description = u'News and Analysis from the English Premier League'
    cover_url = 'http://bit.ly/hJxZPu'

    oldest_article = 3
    max_articles_per_feed = 100
    use_embedded_content = True
    remove_javascript = True
    encoding = 'utf8'

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

    remove_tags =  [
                       {'class': 'feedflare'},
                       {'class': 'tweetmeme_button'},
                       {'class': 'eplrelated'},
                       {'p': 'Related posts:<ol>'},
                   ]

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

    feeds =[
               (u'EPL Talk', u'http://feeds.feedburner.com/EPLTalk'),
               (u'MLS Talk', u'http://feeds.feedburner.com/majorleaguesoccertalksite'),
               #(),
               #(),
               #(),
           ]

    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;}
               '''