Favicon Implementation

Jason Koh cloakingdevice at fastmail.fm
Sun Jan 2 07:27:00 PST 2005


I am a little puzzled by the way this feature is implemented in Omniweb 
5.1.

I added this line to the html files at the  website  
http://www.ascm.org.au

<head>
  ...
	<link rel="shortcut icon" href="images/ascm.ico" type="image/x-icon" />
...
</head>

When I request the page "www.ascm.org.au" without any filename, 
index.htm is loaded and the icon appears on the address bar.
But if I request any other file on the site or even index.htm, the icon 
is replaced with the generic one.

Anyone know what the problem is?


On investigation, I found that there are at least 3 ways to add these 
icons to website:
1. favicon.ico file in the base directory of  the site.
2a. <link rel="shortcut icon" href="images/ascm.ico" 
type="image/x-icon" />
2b. as above with file of other image format such as gif.
3. <link rel="icon" href="images/ascmIcon.gif" type="image/gif" />

Method 1 appears to be the least flexible, and generates lots of "not 
found" errors.
Method 2 is non-standards compliant, according to w3c.
Method 3 should be the preferred method, but after some experiments, I 
think Omniweb does not support it.

Anyone care to comment?

Jason Koh	




More information about the OmniWeb-l mailing list