View Single Post
Old 11-30-2011, 08:49 AM   #3
tylau0
Connoisseur
tylau0 began at the beginning.
 
Posts: 81
Karma: 10
Join Date: Oct 2010
Device: Kindle
No. You are not alone. Check this.
A possible workaround is to customize the recipe. Assign the "cover_url" attribute of your recipe with the image URL of your choice. The cover image will then be the image specified in the URL rather than the default cover. For example,

Code:
class MyRecipe(BasicNewsRecipe):
    ....
    cover_url = 'http://www.somesite.com/image.jpg'
    ....
Alternatively, you may override the get_cover_url(.) method of the class.

Code:
class MPRecipe(BasicNewsRecipe):
    ....
   def get_cover_url(self):
        cover =  'http://www.somesite.com/image.jpg'
        br = BasicNewsRecipe.get_browser()
        try:
            br.open(cover)
        except:
            cover = None
        return cover
    ....

Last edited by tylau0; 11-30-2011 at 08:57 AM.
tylau0 is offline   Reply With Quote