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)
|