For faster navigation, this Iframe is preloading the Wikiwand page for OpenSearch.

OpenSearch

OpenSearch
提供加入新搜索插件的网页示例。使用Firefox,目前选取的搜索引擎的符号会变成蓝色。用户可以透过点击三角形来新增该页面所提供的搜索引擎。
互联网媒体类型application/opensearchdescription+xml
开发者亚马逊公司
首次发布2005年3月15日 (2005-03-15)
最新版本
1.1 Draft 6[1]
2005年12月6日,​18年前​(2005-12-06
格式类型网络聚合
扩展自RSS
免费格式?CC BY-SA 4.0 国际
网站github.com/dewitt/opensearch

OpenSearch是一组允许以网络聚合的格式发布搜索结果的技术。其于2005年推出,是网站搜索引擎以标准可被存取的格式发布搜索结果的一种方式。

OpenSearch由亚马逊公司的子公司A9英语A9.com开发,第一版的OpenSearch 1.0由杰夫·贝索斯在2005年3月15日的欧莱礼新兴技术大会上公布[2][3]。OpenSearch 1.1的草稿版本则于2005年9月与12月发布。

支持

支持OpenSearch的网页浏览器包含了Safari[4]Microsoft Edge[5]Firefox[6]以及Google Chrome[7]

Mozilla已表示他们会将OpenSearch搜索附加组件弃用并改用WebExtentions搜索附加组件。但不会影响到从网站手动新增OpenSearch引擎的能力[8]。自2019年12月5日起,使用OpenSearch技术的搜索引擎附加组件已从Mozilla的附加组件网站上移除。

设计

德语维基百科的搜索建议

OpenSearch包含了:

  1. OpenSearch描述档:用来识别与描述搜索引擎的XML文件
  2. OpenSearch查询语法:描述了要在哪里截取搜索结果
  3. OpenSearch RSS (OpenSearch 1.0) 或是OpenSearch回应 (OpenSearch 1.1):用于提供开放搜索结果的格式
  4. OpenSearch聚合器:网站可以显示OpenSearch结果
  5. OpenSearch自动探索向用户发出搜索插件链接以及嵌入在HTML页面标头中链接的信号

OpenSearch描述文件列出了指定网站或工具的搜索结果回应。1.0版的规范仅允许RSS格式的回应;不过1.1版则支持了多种回应,可以是任意格式。OpenSearch聚合器仅正式支持RSS与Atom,但仍然可以接受其他如HTML等格式。

  • 自动探索OpenSearch描述文件可透过HTML与Atom或RSS feed以链接关系<atom:link rel="search" ... /> (Atom)[9]<link rel="search" ... /> (RSS)[9]与HTML文件[10]
  • OpenSearch描述文件必须必须放置在同一个网域的网络伺服器上[11]
  • OpenSearch描述文件必须以application/opensearchdescription+xml互联网媒体类型[12]提供。

参见

参考资料

  1. ^ OpenSearch 1.1 Draft 6. 2019-12-08 [2020-05-21]. (原始内容存档于2022-01-21). 
  2. ^ Speaker Jeffrey P. Bezos. 欧莱礼媒体. 2005 [2020-05-21]. (原始内容存档于2020-07-21). 
  3. ^ Werner, Vogels. OpenSearch at A9. allthingsdistributed.com. 2005-03-15 [2021-03-09]. (原始内容存档于2017-10-24). 
  4. ^ What's New in Safari 8.0. 苹果公司. 2018-02-22 [2020-05-21]. (原始内容存档于2022-01-13). 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. 微软. 2020-04-16 [2020-05-21]. (原始内容存档于2019-02-09). 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 [2020-05-21]. (原始内容存档于2021-01-24). Firefox supports search suggestions in OpenSearch plugins 
  7. ^ FAQ for web developers. [2020-05-21]. (原始内容存档于2012-01-01). 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. Search Engine add-ons to be removed from addons.mozilla.org. Mozilla. 2019-10-15 [2020-05-21]. (原始内容存档于2021-07-31). 
  9. ^ 9.0 9.1 Autodiscovery in RSS/Atom. 2019-12-08 [2021-07-31]. (原始内容存档于2022-01-21). 
  10. ^ Autodiscovery in HTML/XHTML. 2019-12-08 [2021-07-31]. (原始内容存档于2022-01-21). 
  11. ^ How to return OpenSearch results from your search engine. Developer how to guide.wiki. 2018-04-14 [2020-05-21]. (原始内容存档于2021-07-31). 
  12. ^ MIME type application/opensearchdescription+xml. 2019-12-08 [2021-07-31]. (原始内容存档于2022-01-21). 
{{bottomLinkPreText}} {{bottomLinkText}}
OpenSearch
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?