Support Chrome's omnibox search

drewnoakesdrewnoakes Posts: 5
edited May 26, 2016 9:15AM in PInvoke.Net
If you put some markup on the site:
<link rel="search" type="application/opensearchdescription+xml" title="" href="/opensearch.xml" />

The make opensearch.xml:
<OpenSearchDescription xmlns="" xmlns:moz="">
  <ShortName> the interop wiki!</ShortName>
  <Description> is primarily a wiki, allowing developers to find, edit and add 
    PInvoke signatures, user-defined types, and any other information related to calling 
    Win32 and other unmanaged APIs from managed code (written in languages such as C# or VB.NET).
  <Url type="text/html" method="get" template="{searchTerms}&namespace=[All]"/>

Then when people type "" into Chrome (and other browsers) there's an option to search directly from the chrome omnibox. This is a great usability feature! And it's very easy to add to the site.

Some more information here. ... -your-site
Sign In or Register to comment.