doc.silverstripe.org/sapphiredocs/templates/OpenSearchDescription.ss

14 lines
672 B
Scheme
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<% if ShortName %><ShortName>$ShortName</ShortName><% end_if %>
<% if Description %><Description>$Description</Description><% end_if %>
<% if Tags %><Tags>$Tags</Tags><% end_if %>
<% if Contact %><Contact>$Content</Contact><% end_if %>
<% if SearchPageLink %><Url type="text/html" template="$SearchPageLink" /><% end_if %>
<% if SearchPageRss %><Url type="application/rss+xml" template="$SearchPageRss" /><% end_if %>
<% if SearchPageJson %><Url type="application/x-suggestions+json" template="$SearchPageJson" /><% end_if %>
</OpenSearchDescription>