[Xapian-discuss] Omega: favicon.ico?

Olly Betts olly at survex.com
Sat Apr 14 05:22:23 BST 2012


On Sat, Apr 14, 2012 at 08:44:51AM +0530, Charles wrote:
> Does omega support favicon.ico files?  If so, how can they be set up?

Omega uses templates to generate its output, so you can just add
something this to the <head> section of your template:

<link rel="shortcut icon" href="/url/of/my-favicon.ico" />

> If not, please consider enhancing Omega to do so and providing a default
> favicon.ico file.

If Omega set a default one and the website Omega is running on already
had one, Omega would stubbornly override that with its default, which
would be annoying.

> There are two reasons for wanting favicon.ico support:
> 
> 1. Apache generates 404 errors for /favicon.ico when serving an
> Omega-generated page.

And for any hit on any other page on your site - this doesn't seem to
be an Omega-specific issue in any way.

> 2. It would provide a more complete UI appearance.

I don't think I agree.

For example, I see quite a few sites with the Drupal "teardrop" icon -
if I'm not looking at drupal.org, that's just confusing.

Another example - a few years ago, you'd see apparently random sites
(including a number of US government ones) with a Sun logo as the
favicon, I assume because their webserver happened to run Solaris.  That
really wasn't a useful favicon except on Sun's own websites.

The favicon should really summarise the site, not the technology behind
it.

Cheers,
    Olly



More information about the Xapian-discuss mailing list