View Single Post
Old 01-06-2012, 12:09 AM   #3
Barty
doofus
Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.
 
Barty's Avatar
 
Posts: 2,521
Karma: 13036221
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
I just tried it. It looks fine on my kindle 3. I did add auto_cleanup = True

Code:
from calibre.web.feeds.recipes import BasicNewsRecipe

class IndianapolisStar(BasicNewsRecipe):
	title                 = u'Indianapolis Star'
	oldest_article        = 10
	auto_cleanup          = True
	language              = 'en'
	__author__            = 'Owen Kelly'
	max_articles_per_feed = 100
	cover_url = u'http://www2.indystar.com/frontpage/images/today.jpg'
	feeds = [(u'Community Headlines', u'http://www.indystar.com/apps/pbcs.dll/section?Category=LOCAL&template=rss'), 
		(u'News Headlines', u'http://www.indystar.com/apps/pbcs.dll/section?Category=NEWS&template=rss'), 
		(u'Business Headlines', u'http://www.indystar.com/apps/pbcs.dll/section?Category=BUSINESS&template=rss'), 
		(u'Politics and Government', u'http://www.indystar.com/apps/pbcs.dll/section?Category=NEWS05&template=rss'), 
		(u'Lifestyle Headlines', u'http://www.indystar.com/apps/pbcs.dll/section?Category=LIVING&template=rss&mime=XML'), 
		(u'Opinion Headlines', u'http://www.indystar.com/apps/pbcs.dll/section?Category=OPINION&template=rss&mime=XML')
		]

	def print_version(self, url):
		return url + '&template=printart'
Barty is offline   Reply With Quote