From 5ddd375a66fa8e4db9d23416a11410937c36c036 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 9 Sep 2009 19:10:10 -0600 Subject: [PATCH] Updated recipe for The CLimate Progress Blog --- src/calibre/web/feeds/recipes/recipe_climate_progress.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/calibre/web/feeds/recipes/recipe_climate_progress.py b/src/calibre/web/feeds/recipes/recipe_climate_progress.py index 1ea1b5f049..4059b4acc1 100644 --- a/src/calibre/web/feeds/recipes/recipe_climate_progress.py +++ b/src/calibre/web/feeds/recipes/recipe_climate_progress.py @@ -33,6 +33,15 @@ class ClimateProgress(BasicNewsRecipe): html2epub_options = 'publisher="' + publisher + '"\ncomments="' + description + '"\ntags="' + category + '"' + extra_css = ''' + h2{color:#003366;font-size: large ;font-family:Arial,Helvetica,sans-serif; font-weight:bold;} + h3{color:#003366;font-size: small ;font-family:Arial,Helvetica,sans-serif; font-weight:bold;} + h4{color:#003366;font-size: x-small ;font-family:Arial,Helvetica,sans-serif; font-weight:bold;} + .date{color:#333333; font-size:xx-small; font-family:Arial,Helvetica,sans-serif; font-style:italic} + a{color:#339966;} + body{font-family:Georgia,Times New Roman,Times,serif; font-size:x-small;color:#333333;} + ''' + feeds = [(u'Posts', u'http://feeds.feedburner.com/climateprogress/lCrX')] def preprocess_html(self, soup):