Read Snopes 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 »

Urban Legends

Language: en

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

Schedule Every morning

			  __license__   = 'GPL v3'
__copyright__ = '2010, Starson17'
'''
snopes.com
'''
from calibre.web.feeds.recipes import BasicNewsRecipe

class Snopes(BasicNewsRecipe):
    title                  = 'Snopes'
    __author__             = 'Starson17'
    description            = 'Urban Legends'
    oldest_article         = 21
    max_articles_per_feed  = 100
    no_stylesheets         = True
    use_embedded_content   = False
    encoding               = 'utf8'
    publisher              = 'Snopes'
    category               = 'news, '
    language               = 'en'
    publication_type       = 'newsportal'
    remove_javascript = True
    no_stylesheets        = True

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

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

    feeds          = [
                           ('Snopes', 'http://www.snopes.com/info/whatsnew.xml'),
                           ]

    extra_css = '''
                    h1{font-family:Trebuchet MS,Bookman Old Style,Arial;color:#75b570}
                    h2{font-family:Arial,Helvetica,sans-serif; font-weight:normal;font-size:medium;}
                    p{font-family:Arial,Helvetica,sans-serif;font-size:small;}
                    body{font-family:Arial,Helvetica,sans-serif;font-size:small;}
		            '''