OpenSearch
OpenSearch is a collection of technologies that allow publishing of search results in a format suitable for syndication and aggregation. It is a way for websites and search engines to publish search results in a standard and accessible format.
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. | |
Developed by | Amazon.com |
---|---|
Initial release | March 15, 2005 |
Latest release | |
Type of format | Web syndication |
Extended from | RSS |
Open format? | Creative Commons Attribution-ShareAlike 2.5 |
Website | www |
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 in March, 2005.[2] 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.[3]
Support
Web browsers that support OpenSearch include Safari,[4] Microsoft Edge,[5] Firefox[6] and Google Chrome.[7]
Mozilla indicated that they will deprecate OpenSearch support in Firefox and eventually remove it from the browser.[8] 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[9] or<link rel="search" ... />
for RSS feeds[9] and HTML documents.[10] - OpenSearch Description Document must be placed on a web server of the same domain.[11]
- OpenSearch Description Documents must be served with the
application/opensearchdescription+xml
Internet media type.[12]
Alternatives
Mozilla Firefox offers an undocumented[13] bookmark keyword feature where an occurrence of %s in the bookmark URI gets replaced with the terms typed in the address bar following the initial keyword.
See also
- Representational State Transfer (REST)
- GraphQL
- OpenURL
- Search/Retrieve via URL (SRU)
- Z39.50
References
- "OpenSearch 1.1 Draft 6". 2019-12-08. Retrieved 2020-05-21.
- "Speaker Jeffrey P. Bezos". O'Reilly Media. 2005. Retrieved 2020-05-21.
- "LICENSE.txt". 2018-05-31. Retrieved 2020-05-21.
- "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
- "Supporting search suggestions in search plugins". Mozilla. 2019-03-23. Retrieved 2020-05-21.
Firefox supports search suggestions in OpenSearch plugins
- "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.
- Neiman, Caitlin (2019-10-15). "Search Engine add-ons to be removed from addons.mozilla.org". Mozilla. Retrieved 2020-05-21.
- "Autodiscovery in RSS/Atom". 2019-12-08.
- "Autodiscovery in HTML/XHTML". 2019-12-08.
- "How to return OpenSearch results from your search engine". Developer how to guide.wiki. 2018-04-14. Retrieved 2020-05-21.
- "MIME type application/opensearchdescription+xml". 2019-12-08.
- https://support.mozilla.org/en-US/kb/bookmarks-firefox#w_how-to-use-keywords-with-bookmarks
- https://wiki.developer.mozilla.org/en-US/docs/Web/API/Window/sidebar/Adding_search_engines_from_Web_pages$revision/1525363#Installing_Sherlock_plugins
External links
- Official website, including specifications
- Mycroft Project – a collection of OpenSearch installers for Firefox