diff options
| author | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-10-12 01:23:49 +0000 |
|---|---|---|
| committer | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-10-12 01:23:49 +0000 |
| commit | b7acd92ce4ba9046684008b645c26ef99914fe1e (patch) | |
| tree | d99829d9c15115f4ba2ce2945c441711a982d03f /htroot/opensearchdescription.xml | |
| parent | 67b3b4b13b20a59e60d7a98b6d32e18c66c8bac2 (diff) | |
Auto-Suggestions for YaCy Search:
- added a suggest servlet according to opensearch and firefox standard
- integrated the suggest servlet into opensearch description file
- integrated a autocomplete plugin for jquery
- added a autocomplete addition to the yacy search windows showing autosuggest queries
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7241 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/opensearchdescription.xml')
| -rw-r--r-- | htroot/opensearchdescription.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/htroot/opensearchdescription.xml b/htroot/opensearchdescription.xml index cff691d59..fcad1f48a 100644 --- a/htroot/opensearchdescription.xml +++ b/htroot/opensearchdescription.xml @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> +<OpenSearchDescription + xmlns="http://a9.com/-/spec/opensearch/1.1/" + xmlns:suggestions="http://www.opensearch.org/specifications/opensearch/extensions/suggestions/1.1"> <ShortName>#(compareyacy)#::Compare #(/compareyacy)#YaCy/#[clientname]#</ShortName> <LongName>YaCy.net - #[SearchPageGreeting]#</LongName> <Image type="image/gif">http://#[thisaddress]#/env/grafics/yacy.gif</Image> @@ -16,6 +18,7 @@ :: <Url type="text/html" method="GET" template="http://#[thisaddress]#/compare_yacy.html?verify=true&resource=global&nav=all&query={searchTerms}" /> #(/compareyacy)# + <Url type="application/x-suggestions+json" template="http://#[thisaddress]#/suggest?query={searchTerms}"/> <!-- syntax according to http://www.loc.gov/standards/sru/. Set verify=true to get snippets in the search results --> <Developer>See http://developer.berlios.de/projects/yacy/</Developer> <Query role="example" searchTerms="yacy+open+source" /> |
