OpenSearch

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
OpenSearch
Dewiki-searchplugin-blueish-autodiscovery.png
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.
Internet media typeapplication/opensearchdescription+xml
Developed byAmazon.com
Initial releaseMarch 15, 2005 (2005-03-15)
Latest release
1.1 Draft 6[1]
(December 6, 2005; 15 years ago (2005-12-06))
Type of formatWeb syndication
Extended fromRSS
Open format?Creative Commons Attribution-ShareAlike 2.5
Websitegithub.com/dewitt/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.

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][verification needed] 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[edit]

Web browsers that support OpenSearch include Safari,[4] Microsoft Edge,[5] Firefox[6] and Google Chrome.[7]

Mozilla indicated that they will deprecate OpenSearch search addons in favour of WebExtentions search addons. This will not affect the ability to manually add an opensearch engine from a website[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[edit]

Search suggestions in the German Wikipedia

OpenSearch consists of:

  1. OpenSearch Description files: XML files that identify and describe a search engine.
  2. OpenSearch Query Syntax: describe where to retrieve the search results
  3. OpenSearch RSS (in OpenSearch 1.0) or OpenSearch Response (in OpenSearch 1.1): format for providing open search results.
  4. OpenSearch Aggregators: Sites that can display OpenSearch results.
  5. 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[edit]

Mozilla Firefox offers a bookmark keyword feature[13] 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[edit]

References[edit]

  1. ^ "OpenSearch 1.1 Draft 6". 2019-12-08. Retrieved 2020-05-21.
  2. ^ "Speaker Jeffrey P. Bezos". O'Reilly Media. 2005. Retrieved 2020-05-21.
  3. ^ "LICENSE.txt". 2018-05-31. Retrieved 2020-05-21.
  4. ^ "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, [...]
  5. ^ "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
  6. ^ "Supporting search suggestions in search plugins". Mozilla. 2019-03-23. Retrieved 2020-05-21. Firefox supports search suggestions in OpenSearch plugins
  7. ^ "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.
  8. ^ Neiman, Caitlin (2019-10-15). "Search Engine add-ons to be removed from addons.mozilla.org". Mozilla. Retrieved 2020-05-21.
  9. ^ a b "Autodiscovery in RSS/Atom". 2019-12-08.
  10. ^ "Autodiscovery in HTML/XHTML". 2019-12-08.
  11. ^ "How to return OpenSearch results from your search engine". Developer how to guide.wiki. 2018-04-14. Retrieved 2020-05-21.
  12. ^ "MIME type application/opensearchdescription+xml". 2019-12-08.
  13. ^ https://support.mozilla.org/en-US/kb/bookmarks-firefox#w_how-to-use-keywords-with-bookmarks
  14. ^ 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[edit]