February 22, 2008

Search Plugins for Miami-Dade Public Library

Thanks to the kind work of librarysearch.org volunteer Johnathan Mayo, there's now a browser search plugin for the Miami-Dade Public Library System catalog.

I've got to learn to write these. It looks so easy, but my first try bombed…


Posted by Michael : February 22, 2008 11:33 AM | Miami , Software | TechnoLinks
Slashdot   Slashdot It!
Comments

I created a quickie keyword search for the local library system.
The hard part was getting Firefox to accept the plugin.
I ended having to created an HTML file with the following script:

function installSearchEngine(searchPlugin) {
if (window.external && ("AddSearchProvider" in window.external)) {
// Firefox 2 and IE 7, OpenSearch
window.external.AddSearchProvider(searchPlugin);
} else {
// No search engine support (IE 6, Opera, etc).
alert("No search engine support");
}
}

and the following links in the body:
install Search Engine

Search Engine

Note that the fully-qualified URL is key, because it checks for "http" (or https or ftp)

Posted by: Patrick (G) at February 23, 2008 12:03 AM


Add Discourse.net to your RSS/RDF/XML reader: Full feed
Partial feed

Powered by Movable Type 2.64.


   out of