![]() |
#1 |
Connoisseur
![]() ![]() ![]() Posts: 87
Karma: 204
Join Date: Dec 2007
Location: Exeter, Devon, UK
Device: PRS-300
|
Custom news source
I am working on a custom news source and I wish to change the output style of the <blockquote> tag.
I have tried extra_css = '.blockquote { padding-left: 15px; border-left: 3px solid #ccc;}' but this does not work. Am I using the wrong keyword or tag? This is the complete recipe Code:
__license__ = 'GPL v3' __copyright__ = '2009, JayCeeEll' from calibre.web.feeds.news import BasicNewsRecipe class RespectfulInsolence(BasicNewsRecipe): title = u'Respectful Insolence' language = 'en' __author__ = 'JayCeeEll' description = 'The miscellaneous ramblings of a surgeon/scientist on medicine, quackery, science, pseudoscience, history, and pseudohistory (and anything else' author = 'Orac' publisher = 'ScienceBlogs' category = 'blog, science, skepticism' oldest_article = 7 max_articles_per_feed = 100 no_stylesheets = True encoding = 'utf8' remove_javascript = True use_embedded_content = False feeds = [(u'Respectful Insolence' , u'http://feeds.feedburner.com/scienceblogs/insolence')] keep_only_tags = [dict(name='div', attrs={'class':'entry'})] extra_css = '.blockquote { padding-left: 15px; border-left: 3px solid #ccc;}' |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
remove the dot in front of blockquote
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() Posts: 87
Karma: 204
Join Date: Dec 2007
Location: Exeter, Devon, UK
Device: PRS-300
|
Thank you, worked like a charm.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best English News Source? | Gideon | Reading Recommendations | 24 | 11-16-2010 05:14 PM |
Rename output Title of (custom) news source | ischeriad | Calibre | 4 | 02-16-2010 06:14 AM |
Custom news source - for forums | RichD | Calibre | 0 | 01-12-2010 11:05 AM |
Using PubDate in print_version of custom news source | mobilereader72 | Calibre | 4 | 05-30-2009 05:52 PM |
libprs500 and custom news feeds | scottsan | Calibre | 1 | 04-03-2008 02:49 PM |