Revision 32293
Added by Katerina Iatropoulou over 9 years ago
openSearchDescriptor.jsp | ||
---|---|---|
1 |
<%@page contentType="application/xml" %><%@ page isELIgnored="false" %><?xml version="1.0" encoding="UTF-8"?>
|
|
1 |
<%@page contentType="text/xml" %><%@ page isELIgnored="false" %><?xml version="1.0" encoding="UTF-8"?>
|
|
2 | 2 |
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> |
3 | 3 |
<ShortName>OpenAIRE Search</ShortName> |
4 | 4 |
<Description>Use OpenAIRE to search for research results</Description> |
5 | 5 |
<Tags>OpenAIRE</Tags> |
6 | 6 |
<Contact>https://www.openaire.eu/support/helpdesk</Contact> |
7 |
<Url type="application/rss+xml" |
|
8 |
template="${baseUrl}/api/publications?keywords={searchTerms}&page={startPage}&size={count}&format=rss"/> |
|
9 |
</OpenSearchDescription> |
|
7 |
<Url type="text/html" |
|
8 |
template="http://${pageContext.request.localName}/search/publications?keywords={searchTerms}&page={startPage}&size={count}&format=rss"/> |
|
9 |
<Image height="16" width="16" type="image/x-icon">http://www.openaire.eu/templates/yoo_solar/favicon.ico</Image> |
|
10 |
</OpenSearchDescription> |
Also available in: Unified diff
Closing #348 - added descriptor for opensearch and produce the correct result