Read The TMZ 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.
Celeb Gossip and News
Language: en
Requires Subscription: No, it's available as free ebook
Schedule Every morning
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1282101454(BasicNewsRecipe):
title = 'The TMZ'
__author__ = 'Tony Stegall'
description = 'Celeb Gossip and News'
language = 'en'
publisher = 'The TMZ'
category = 'news, celebrity, USA'
oldest_article = 1
max_articles_per_feed = 100
no_stylesheets = True
remove_javascript = True
masthead_url = 'http://t0.gstatic.com/images?q=tbn:t43QkABe_BmaWM:http://www.thetreymoore.com/logos/TMZ%20logo%20(crop).JPG'
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;}
'''
remove_tags = [
dict(name='div' , attrs={'id':['sidebar','print-actions'] })
]
feeds = [
('TOP 20', 'http://www.tmz.com/rss.xml'),
('Exclusives', 'http://www.tmz.com/category/exclusives/rss.xml'),
('Celeb Justice', 'http://www.tmz.com/category/celebrity-justice/rss.xml'),
('Celeb Feuds', 'http://www.tmz.com/category/celebrity-feuds/rss.xml'),
('Politix', 'http://www.tmz.com/category/politix/rss.xml'),
('Music', 'http://www.tmz.com/category/music/rss.xml'),
('Movies', 'http://www.tmz.com/category/movies/rss.xml'),
('TV', 'http://www.tmz.com/category/tv/rss.xml'),
('Sports', 'http://www.tmz.com/category/TMZsports/rss.xml'),
('Hook-Ups', 'http://www.tmz.com/category/hook-ups/rss.xml'),
('Beauty', 'http://www.tmz.com/category/beauty/rss.xml'),
('Fashion', 'http://www.tmz.com/category/fashion/rss.xml'),
('Gossip & Rumor', 'http://www.tmz.com/category/gossip-rumors/rss.xml'),
('Hot Mama', 'http://www.tmz.com/category/hot-mamas/rss.xml'),
('Party All The Time', 'http://www.tmz.com/category/party-all-the-time/rss.xml'),
('Ride Me!', 'http://www.tmz.com/category/ride-me/rss.xml'),
('Stars in Heat', 'http://www.tmz.com/category/stars-in-heat/rss.xml'),
('Vegas', 'http://www.tmz.com/category/hot-vegas/rss.xml')
]
def print_version(self, url):
print_url = url +'print'
return print_url