Quote:
Originally Posted by Rick C
|
Did you ever managed to get a working profile for any of these feeds Rick C?
So far this is what I have as the profile for the Toronto Star
Code:
class TheStar(BasicNewsRecipe):
title = 'TheStar'
timefmt = ' [%a, %d %b, %Y]'
html_description = True
oldest_article = 7
no_stylesheets = True
feeds = [
('Top News Stories', 'http://www.thestar.com/rss/000-082-672?searchMode=Lineup'),
('Toronto & GTA', 'http://www.thestar.com/rss/97427?searchMode=Lineup'),
('Ontario', 'http://www.thestar.com/rss/0?searchMode=Query&categories=311'),
('Canada', 'http://www.thestar.com/rss/000-097-467?searchMode=Lineup'),
('World', 'http://www.thestar.com/rss/000-098-744?searchMode=Lineup'),
('Top Business Stories', 'http://www.thestar.com/rss/000-082-796?searchMode=Lineup'),
('Top Entertain. Stories', 'http://www.thestar.com/rss/117741?searchMode=Lineup'),
('Top Living Stories', 'http://www.thestar.com/rss/000-082-839?searchMode=Lineup'),
('Health', 'http://www.thestar.com/rss/000-082-844?searchMode=LineupAndQuery&categories=299'),
('Top Sci-Tech Stories', 'http://www.thestar.com/rss/82848?searchMode=Query&categories=300'),
('Ideas', 'http://www.thestar.com/rss/93199?searchMode=Lineup'),
]
def print_version(self, url):
return url.replace('http://www.thestar.com/article/', 'http://www.thestar.com/printArticle/')
I figured out how to add the profile through
here
So far, it work! Need to figure out how to edit it so the font is smaller though... And maybe removing the banner...