opensearch stuff, badly implemented

git-svn-id: http://yolanda.mister-muffin.de/svn@230 7eef14d0-6ed0-489d-bf55-20463b2d70db
main
erlehmann 17 years ago
parent bbb7ed61a7
commit 27f59d3d3e

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- hardcoded urls are BAAAD. perhaps provide this document in perl ? -->
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<Contact>admin@example.com</Contact>
<Description>lol description</Description>
<Image
height="16"
width="16"
type="image/x-icon"
>
http:/localhost/images/favicon.ico
</Image>
<Query
role="example"
searchTerms="example"
/>
<ShortName>Yolanda</ShortName>
<Tags>lol tags</Tags>
<Url
type="text/html"
template="http://localhost/search.pl?query={searchTerms}"
/>
</OpenSearchDescription>

@ -108,6 +108,13 @@
</xsl:if>
<link
rel="search"
type="application/opensearchdescription+xml"
href="/opensearch.xml"
title="Yolanda"
/>
<title>
<xsl:choose>
<xsl:when test="boolean(//frontpage)">

Loading…
Cancel
Save