View Single Post
Old 10-07-2008, 08:24 PM   #2
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
Here you go:

Quote:
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'),
('Sport', 'http://www.guardian.co.uk/sport/rss'),
('Comment','http://www.guardian.co.uk/commentisfree/rss')
]
You can add or delete sections by adding or deleting rss feeds. Go to the Guardian web site to get the rss feed addresses. As usual, it is best to upload the news file to the Sony Reader using the Sony eBook Library software, especially since the Guardian tends to have many photos, and the files are therefore big.
Seabound is offline   Reply With Quote