August 2007 Archives

Country Bumpkin released

| 2 Comments

Lovely satellite imageThe latest Chaucery quiz has been released. Country Bumpkin asks you to identify a country based on a satellite image of it and its surroundings. If nothing else, you get to view some nice scenery.

It's quite a lot more browser-intensive than my usual offerings, but I think the end result is worth it.

UWA Directory OpenSearch plugin

| 2 Comments

I have written an OpenSearch plugin to simplify searching the people directory of The University of Western Australia. It works in most modern browsers (not six-year-old Internet Explorer 6).



Technical Notes

If you follow the instructions at the Mozilla Developer Center then you may not realise that the plugin can be installed with Javascript (such as with the button on this page) rather than autodiscovery. This is useful for a couple of reasons:
  • Autodiscovery (as demonstrated for the UWA Directory) relies on a link in the <head> element of the web page, which is inaccessible in many blog and content management systems. In those situations, people place the link within the body of the document. This may work, depending on browser, but is certainly invalid markup.
  • It easier for users to add the search engine when it's provided directly, rather than having to provide a whole page of illustrated instructions

The Mozilla instructions also do not indicate any option other than encoding the search icon within the xml file itself, using Data:URI. In fact, a URL to an external image file is perfectly acceptable, such as:
<Image height="16" width="16" type="image/vnd.microsoft.icon" >http://example.com/websearch.ico</Image>.
Whilst it's nice to have the plugin file completely self-contained, Internet Explorer, even up to version 7, does not support Data:URI. However, as far as I can tell, IE does not support OpenSearch image icons at all anyway, so this point is possibly moot.

Off with his head

| No Comments

Who knew that reigning over Great Britain was so dangerous?

About this Archive

This page is an archive of entries from August 2007 listed from newest to oldest.

July 2007 is the previous archive.

September 2007 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Archives