Quote:
Originally Posted by Starson17
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?