View Single Post
Old 12-01-2010, 02:24 PM   #3
weebl
Junior Member
weebl began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2010
Device: none
Quote:
Originally Posted by Starson17 View Post
This is a recipe question and really ought to be in the recipe subforum, but ....



You can't have two returns above. Delete the one that reads:
Code:
          return url.replace('http://www.poughkeepsiejournal.com/graphics/mastlogo.gif','http://www.poughkeepsiejournal.com/graphics/branding.gif')
Add your masthead to the main code (outside print_version) as follows:
Code:
    masthead_url          = 'http://www.poughkeepsiejournal.com/graphics/branding.gif'
Thanks, I posted in this forum because I thought it may be Calibre recipe specific. I really need to eliminate the masthead provided by the webpage, "mastlogo.gif" as it does not have the background set and displays poorly with a white background. So I thought I would replace it with the "branding.gif". Is there a better method to do so?
weebl is offline   Reply With Quote