On Aug 17, 2006, at 5:22 PM, a wrote:

>
> getting and storing favicon.ico as an image, problems
> I need to get the favicon.ico using urllib2.urlretrive or somehting
> like that
> and webpages dont uniformly handle favicons.ico they dont different
> references
> such as
> /favicon.ico
> or /media/favicon.ico
> some page link the favicon to
> /favicon.ico
>
> and some others
> <link rel="shortcut icon"
> href="http://cache.valleywag.com/assets/www.valleywag.com/img/ 
> favicon.ico"/>
>
> is there an easy way to handle this, if anyone has done this, pls  
> share
>
> thanks a lot
> as i m doing an aggregator, i need to display these icons next to the
> content
> so i was asking if some1 has experience doing this
> thanks
>

I found this article (http://www.kryogenix.org/days/2005/01/31/ 
favatarsUrlparse) might be helpful to you.

-Cheng Zhang
http://www.ifaxian.com
1st Django powered site in Chinese ;-)




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to