View Single Post
Old 10-08-2008, 02:19 PM   #9
mikeywilliams25
Enthusiast
mikeywilliams25 began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Aug 2008
Location: London
Device: Kobo GloHD and Aura h2O
class Guardian(BasicNewsRecipe):

title = u'The Guardian'
oldest_article = 7
max_articles_per_feed = 100

timefmt = ' [%a, %d %b %Y]'

remove_tags_before = dict(id='main-article-info')
remove_tags_after = dict(id='article-wrapper')
remove_tags_after = dict(id='content')
no_stylesheets = True
extra_css = 'h2 {font-size: medium;} \n h1 {text-align: left;}'

feeds = [

('Front Page', 'http://www.guardian.co.uk/rss'),
('Comment','http://www.guardian.co.uk/commentisfree/rss'),
('Media', 'http://www.guardian.co.uk/media/rss'),
('Technology', 'http://www.guardianfeeds.co.uk/technology/rss')

]

The epub creation has problems with the last of the technology links and also some in the Media section.
The LRF version has no such problems (but the epub has better picture handling)
mikeywilliams25 is offline   Reply With Quote