Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

技术资料:opensearch #20

Open
ben7th opened this issue May 28, 2014 · 0 comments
Open

技术资料:opensearch #20

ben7th opened this issue May 28, 2014 · 0 comments

Comments

@ben7th
Copy link

ben7th commented May 28, 2014

http://www.opensearch.org/Home

OpenSearch is a collection of simple formats for the sharing of search results.
OpenSearch 是一种用来共享搜索结果的简单格式。

会有怎样的效果?

pimgeek/we-learn#26
会导致这样的效果

如何做?

http://www.opensearch.org/Documentation/Developer_how_to_guide
Developer how to guide

编写一个符合格式的 xml 文档,然后在自己的网站头部 html 代码中添加声明

<link rel="search" type="application/opensearchdescription+xml" href="你定义的 opensearch XML" title="标题" />  

这样各个浏览器就会识别这个声明,将你的网站纳入“能进行快捷搜索”的范畴

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant