From 57ca76e68efb7c3f615d948231ac741e60251dd1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 15 Sep 2010 11:12:53 -0600 Subject: [PATCH] ... --- src/calibre/web/feeds/news.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/calibre/web/feeds/news.py b/src/calibre/web/feeds/news.py index 9ba9583c73..a140dfbf05 100644 --- a/src/calibre/web/feeds/news.py +++ b/src/calibre/web/feeds/news.py @@ -290,10 +290,12 @@ class BasicNewsRecipe(Recipe): #: the cover for the periodical. Overriding this in your recipe instructs #: calibre to render the downloaded cover into a frame whose width and height #: are expressed as a percentage of the downloaded cover. - #: cover_margins = (10,15,'white') pads the cover with a white margin + #: cover_margins = (10, 15, '#ffffff') pads the cover with a white margin #: 10px on the left and right, 15px on the top and bottom. - #: Colors name defined at http://www.imagemagick.org/script/color.php - cover_margins = (0,0,'white') + #: Color names defined at http://www.imagemagick.org/script/color.php + #: Note that for some reason, white does not always work on windows. Use + #: #ffffff instead + cover_margins = (0, 0, '#ffffff') #: Set to a non empty string to disable this recipe #: The string will be used as the disabled message