diff options
| author | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-11-03 09:20:36 +0000 |
|---|---|---|
| committer | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-11-03 09:20:36 +0000 |
| commit | 3e303db1fa63ef8668933dbd1da2d6e49927c546 (patch) | |
| tree | 86d2b005c3ab0609b3e0bdee8ae1d690ac4a32ff /htroot/opensearchdescription.xml | |
| parent | f5324b27f2826e3c3de9647f9c3c9f28e012ca8f (diff) | |
added search suggestions in XML format. This also supports CORS
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7293 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/opensearchdescription.xml')
| -rw-r--r-- | htroot/opensearchdescription.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/htroot/opensearchdescription.xml b/htroot/opensearchdescription.xml index fcad1f48a..9c0743211 100644 --- a/htroot/opensearchdescription.xml +++ b/htroot/opensearchdescription.xml @@ -18,7 +18,8 @@ :: <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}"/> + <Url type="application/x-suggestions+json" template="http://#[thisaddress]#/suggest.json?query={searchTerms}"/> + <Url type="application/x-suggestions+xml" template="http://#[thisaddress]#/suggest.xml?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" /> |
