Google Chrome: Search API?
Asked Answered
J

1

6

I'm looking for a way to expose Google-Search functionality on my site so that chrome users can use context-sensitive searching (e.g:)

Chrome Search http://img19.imageshack.us/img19/7762/chromesearch.png

I know YouTube is owned by Google, but I couldn't remember which 3rd party sites I had seen this feature work on before. Anyway, I couldn't find any reference to this in google-labs or on code.google.com, so I've turned to you SO.

If anyone has any insight in how to expose this, or a reference doc, I'd be greatly appreciative.

Jonathonjonati answered 16/8, 2010 at 15:56 Comment(0)
S
9

Please note that I am basing my answer off of the context of your question, as at my work I cannot see the image. If my answer is not what you are looking for, please let me know.

I'm not sure if this exactly how Google Chrome does this, but Chrome supports it, and I found this by looking at the source code for this Stack Overflow page.

http://www.opensearch.org

This is an XML specification for providing custom searching. It is currently supported by Chrome, FF, and IE7.

If you want to look at an example page, this is the link to the Stack Overflow specification:

https://stackoverflow.com/opensearch.xml

Sivan answered 16/8, 2010 at 16:37 Comment(2)
Glad I could be of help then!Sivan
Actually the link itself is brokenAnarchist

© 2022 - 2024 — McMap. All rights reserved.