Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes it's possible. I did this for my blog.</p> <pre><code> &lt;link rel="search" type="application/opensearchdescription+xml" title="The Sheng Blog" href="/resources/opensearch.php"/&gt; </code></pre> <p>opensearch.php looks likes this:</p> <pre><code> &lt;?xml version="1.0"?&gt; &lt;OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"&gt; &lt;ShortName&gt;The Sheng Blog (Beta)&lt;/ShortName&gt; &lt;Description&gt;The Sheng Blog Search&lt;/Description&gt; &lt;Developer&gt;Sheng Slogar&lt;/Developer&gt; &lt;LongName&gt;Search the entire Sheng Blog&lt;/LongName&gt; &lt;InputEncoding&gt;UTF-8&lt;/InputEncoding&gt; &lt;OutputEncoding&gt;UTF-8&lt;/OutputEncoding&gt; &lt;Query role="example" searchTerms="code"/&gt; &lt;SyndicationRight&gt;open&lt;/SyndicationRight&gt; &lt;AdultContent&gt;false&lt;/AdultContent&gt; &lt;Language&gt;en-us&lt;/Language&gt; &lt;Contact&gt;contact@theshengblogg.comule.com&lt;/Contact&gt; &lt;Tags&gt;code posts tutorials ideas playground&lt;/Tags&gt; &lt;Image width="16" height="16" type="image/x-icon"&gt;data:/ico;base64,AAABA...(Icon in base64)&lt;/Image&gt; &lt;Url type="text/html" template="http://theshengblogg.comule.com/search.php?s={searchTerms}"&gt;&lt;/Url&gt; &lt;Url type="application/x-suggestions+json" method="GET" template="http://theshengblogg.comule.com/autocomplete.php?search={searchTerms}&amp;amp;json=true"/&gt; &lt;/OpenSearchDescription&gt; </code></pre> <p>I learned this from <a href="http://www.opensearch.org/Specifications/OpenSearch/1.1" rel="nofollow">http://www.opensearch.org/Specifications/OpenSearch/1.1</a>. The autocomplete part is optional. Return it in JSON format.</p> <p>For example, if you search "a", return ["a","about","across","all","and"]. (Notice I put your query in the array as item 0.)</p> <p>My autocomplete only seems to work in Firefox. This might be something with my sub domain. I also couldn't get it to work in IE or Chrome.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload