Example of a web page which offers to add a new search plugin. With Firefox, the symbol of the currently selected search engine becomes bluish. The user can add the search engine offered by that page by clicking the triangle.
OpenSearch is a collection of technologies that allow the publishing of search results in a format suitable for syndication and aggregation. Introduced in 2005, it is a way for websites and search engines to publish search results in a standard and accessible format.
OpenSearch was developed by Amazon.com subsidiary A9 and the first version, OpenSearch 1.0, was unveiled by Jeff Bezos at the O'Reilly Emerging Technology Conference on 15 March 2005.[2][3] Draft versions of OpenSearch 1.1 were released during September and December 2005. The OpenSearch specification is licensed by A9 under the Creative Commons Attribution-ShareAlike 2.5 License.[4]
Mozilla have indicated that they will deprecate OpenSearch search addons in favour of WebExtensions search addons. This will not affect the ability to manually add an OpenSearch engine from a website[9] As of December 5, 2019, search engine add-ons for Firefox that are powered by OpenSearch have been removed from Mozilla Add-ons.
Design
OpenSearch consists of:
OpenSearch Description files: XML files that identify and describe a search engine.
OpenSearch Query Syntax: describe where to retrieve the search results
OpenSearch RSS (in OpenSearch 1.0) or OpenSearch Response (in OpenSearch 1.1): format for providing open search results.
OpenSearch Aggregators: Sites that can display OpenSearch results.
OpenSearch "Auto-discovery" to signal the presence of a search plugin link to the user and the link embedded in the header of HTML pages
OpenSearch Description Documents list search result responses for the given website/tool. Version 1.0 of the specification only allowed one response, in RSS format; however, version 1.1 provides support for multiple responses, which may be in any format. RSS and Atom are the only ones formally supported by OpenSearch aggregators, however other types, such as HTML are perfectly acceptable.
Auto-discovery of an OpenSearch Description Document is available from both HTML and Atom or RSS feed documents via Link relations in the form of <atom:link rel="search" ... /> for Atom feeds[10] or <link rel="search" ... /> for RSS feeds[10] and HTML documents.[11]
OpenSearch Description Document must be placed on a web server of the same domain.[12]
OpenSearch Description Documents must be served with the application/opensearchdescription+xmlInternet media type.[13]
Alternatives
Mozilla Firefox offers a bookmark keyword feature[14] where an occurrence of %s in the bookmark URI gets replaced with the terms typed in the address bar following the initial keyword.
^"What's New in Safari 8.0". Apple. 2018-02-22. Retrieved 2020-05-21. In OS X, website developers can aid Safari in discovering searchable content by including an OpenSearch description document on their site, [...]
^"Change your default search engine". Microsoft. 2020-04-16. Retrieved 2020-05-21. However, you can change the default search engine in Microsoft Edge to any site that uses OpenSearch technology
^"FAQ for web developers". Archived from the original on 2012-01-01. Retrieved 2020-05-21. By providing an OpenSearch description document (OSDD), you enable Google Chrome to include your site in the list of search engines in the browser.