![]()
Here’s a short guide to help you make and set up a search plugin for firefox and Internet Explorer 7 (a search engine of your site to add in the search engine field near the adress bar of your browser), with auto discovery and link to install it easily.
It’s based on opensearch specifications and is really simple to implement and install.
The plugin file is a simple xml file with the fellowing lines :
The declaration :
A short name for your engine (which will appear in the engine list) and a description :
Search Ayozone
Make a search on ayoli’s blog
The input encoding (mostly depends of your site encoding) :
UTF-8
Url of your site icon :
http://ayozone.org/favicon.ico
And the most important, the url of your search engine with the query param (“s”) in my case and the variable {searchTerms}. Note that only the get method will work with IE 7 :
Finally, we close the first tag :
Done
Now to have the auto discovering thing (which shows “Add Search Ayozone” in the search engines menu when it’s not installed) just put this in your header with the url of your xml file :
And you can also put a link that magically launches the search engine installation process like this
(again replace the url of the xml file with yours) :
Add ayozone search to your browser !
Which looks like :
Add ayozone search to your browser !
Ressources :
» opensearch specifications
» mozilla developers docs






english
français