View Single Post
Old 01-04-2012, 04:47 PM   #3
Olger
Member
Olger began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2011
Device: Kobo Touch
Thanks Kovid,
Any idea why extra_css doesn't work? Here's the recipe I've got:
from calibre.web.feeds.recipes import BasicNewsRecipe

class ABCNewsRecipe(BasicNewsRecipe):
feeds = [
(u'News: Top Stories', u'http://www.abc.net.au/news/feed/45910/rss.xml'),
(u'News: World', u'http://www.abc.net.au/news/feed/52278/rss.xml'),
(u'News: Australia', u'http://www.abc.net.au/news/feed/46182/rss.xml'),
(u'News: Queensland', u'http://www.abc.net.au/news/feed/50990/rss.xml'),
(u'News: Business', u'http://www.abc.net.au/news/feed/51892/rss.xml'),
(u'Science', u'http://www.abc.net.au/science/news/topic/latest/latest.xml')
]

title = u'ABC News'
oldest_article = 1
max_articles_per_feed = 100
auto_cleanup = True
cover_url = 'file:///d:/ebooks/covers/abcnewscover.jpg'
publication_type = 'newspaper'
author = 'ABC News'
publisher = 'ABC News'
extra_css = ':link:hover { background-color:blue; color: white;}'

Cheers!
Olger is offline   Reply With Quote