The latest versions of Microsoft Internet Explorer and FireFox offer a powerful new feature: they allow you to run a search directly from the browser without having to open a Google or Yahoo page. This is handy and convenient, and can save us a few clicks for every search we run (several per day, in my case).
The new feature is based on an open standard called OpenSearch. It’s based on a simple yet effective idea:
A website owner adds a little XML file to his/her website and a simple tag (auto-discovery link) to the main web pages describing a new search engine or a specific search option for an existing search engine.
As new generation web browsers visit the website, they automatically recognize the tag and load the XML file.
The XML file is parsed and, if syntactically correct, a new entry is temporarily added as an option to the search menu of the web browser.
The visitor/user can customize the web browser adding the new search option as a permanent entry of the search menu.
It’s very simple. If you don’t have a new search engine running on your servers, you can set up the OpenSearch configuration to run a search on your website using Google as the search engine.
First you have to create the simple XML file. I suggest you start from a template. The one I use is below (thanks to DeWitt Clinton):
Now you’re done! Refresh your browser and then check it. Here is what you should see (FireFox):
From now on all your visitors will have the choice to add a search to your website as a standard option of their web browser. At Novedge, for example, we believe this is important. We have a huge catalog with more than 1500 products so we’d love to make our catalog searchable through Google.
You can try OpenSearch on our Novedge website. If you decide to add this feature to your website let me know by leaving a comment to this post. For more details about OpenSearch, please visit the OpenSearch pages on Wikipedia or the OpenSearch website.
Rubius has been developing custom engineering and enterprise software for over 16 years. We develop custom CAD and CAM systems, plugins for Autodesk Altium, Dassault Systemes, Siemens and more. They create solutions using machine learning and computer vision. We also implement VR and AR in manufacturing enterprises.