<%
	String url = request.getRequestURL().toString();
	int index = url.lastIndexOf('/');
	String serverRoot = url.substring(0,index);
%>
<?xml version="1.0" encoding="UTF-8"?>

<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
	<ShortName>HP SRC</ShortName>
	<Description>Search SRC Service/Support Catalog</Description>
	<Image height="16" width="16" type="image/x-icon"><%=serverRoot%>/favicon.ico</Image>
	<Url type="text/html" 
		template="<%=serverRoot%>/secure/main.jsp#services/search/{searchTerms}"/>
	<Url type="application/x-suggestions+json" 
		template="<%=serverRoot%>/ws/rs/opensearch/suggestions?term={searchTerms}"/>
</OpenSearchDescription>