Permalink
Browse files

Add suggestions to OpenSearch

  • Loading branch information...
1 parent 9f8271c commit e36e8b0d3e22610794d243bd3a0ac09672d4894a @batterseapower committed Dec 22, 2008
Showing with 3 additions and 1 deletion.
  1. +3 −1 opensearch.xml
View
@@ -4,5 +4,7 @@
<Description>Prefix Search</Description>
<Image height="16" width="16" type="image/x-icon">http://prefix-search.omega-prime.co.uk/favicon.ico</Image>
<Url type="text/html" method="get" template="http://prefix-search.omega-prime.co.uk/search.php?query={searchTerms}" />
- <!--<moz:SearchForm>http://en.wikipedia.org/wiki/Special:Search</moz:SearchForm>-->
+ <!-- I'm going to cheat and use Google suggestions (since that is the default prefix, after all) -->
+ <Url type="application/x-suggestions+json" template="http://suggestqueries.google.com/complete/search?hl=en&amp;q={searchTerms}"/>
+ <moz:SearchForm>http://prefix-search.omega-prime.co.uk</moz:SearchForm>
</OpenSearchDescription>

0 comments on commit e36e8b0

Please sign in to comment.