Re: favicon of address

2009-09-21 Thread Jean-Daniel Dupas
As not everybody like the nasty ico file format, some web developer are nice enough to use 32 bits PNG. link rel=icon type=image/png href=/favicon.png/ So, without page content, I don't see how you would now where the favicon is. Le 21 sept. 2009 à 01:11, Mike Abdullah a écrit : The best

Re: favicon of address

2009-09-21 Thread Jens Alfke
The best engineered approach would probably be to load the page up into a WebView, BUT use the WebResourceLoadDelegate to stop it wasting time downloading any resource that isn't the favicon. WebView has a lot of overhead! It would be much more efficient to just use NSXMLDocument to

favicon of address

2009-09-20 Thread Mitchell Livingston
Hey, I want to get the favicon of a URL address, but don't actually need any of the page's content. Is there an efficient way to do this besides hammering the site for this info? This image isn't critical, so something that works most of the time should be fine. Thanks, Mitch

Re: favicon of address

2009-09-20 Thread Dave DeLong
I've been spending the past couple days working on webservers, and I've noticed that the first time that the browser requests a page, it also requests /favicon.ico, no matter what page in the file hierarchy it's trying to GET. From there, it would seem like if you have a host name

Re: favicon of address

2009-09-20 Thread Jason Foreman
On Sep 20, 2009, at 1:53 PM, Mitchell Livingston wrote: Hey, I want to get the favicon of a URL address, but don't actually need any of the page's content. Is there an efficient way to do this besides hammering the site for this info? This image isn't critical, so something that works

Re: favicon of address

2009-09-20 Thread Mike Abdullah
The best engineered approach would probably be to load the page up into a WebView, BUT use the WebResourceLoadDelegate to stop it wasting time downloading any resource that isn't the favicon. But if it isn't critical, then downloading favicon.ico should probably be enough. On 20 Sep 2009,