Re: favicons
Re: favicons
- Subject: Re: favicons
- From: Jim Witte <email@hidden>
- Date: Fri, 30 Apr 2004 00:57:26 -0500
The icon itself is stored in an root file called 'favicon.ico' or
something like that - look around on the tutorial pages on creating
them. As for downloading them into an NSImage or something - I have no
idea - perhaps WebKit has a method for easily downloading one file and
parsing the image?
The Camino project uses favicons, so you could pull it down and look
at it's code - although that's kind of extreme - it relies on the whole
mozilla trunk, which is 475MB compiled (plus the camino xCode project
compiled). And the favicon code relies on the mozilla code for
downloading, so it's highly unlikely that just that part could be
pulled out to use..
I'd think webkit would be the best way to do it, but I don't know
how..
Jim
I see a few postings asking this question, but I can't find one with a
solution. Does anyone know how to get the favicon associated with a
url dragged out of a browser? The [ sender draggedImage ] looked
likely but it returns ( null ) and I'm not finding any images in the
pasteboard.
Thanks,
Denise
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >favicons (From: Denise Eatherly <email@hidden>) |