doc.silverstripe.org/sapphiredocs/templates/OpenSearchResults.ss
Will Rossiter a7823e192d MINOR: updated ssdoc
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@118323 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-04-29 02:40:15 +00:00

22 lines
850 B
Scheme

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
<title>$Title</title>
<link>$Link</link>
<author>
<name>SilverStripe Ltd.</name>
</author>
<updated>$Now</updated>
<opensearch:totalResults>$TotalResults</opensearch:totalResults>
<opensearch:startIndex>$StartResult</opensearch:startIndex>
<opensearch:itemsPerPage>$PageLength</opensearch:itemsPerPage>
<opensearch:Query role="request" searchTerms="$Query" startIndex="$StartResult" count="$PageLength"></opensearch:Query>
<% control Results %>
<entry>
<title><% if BreadcrumbTitle %>$BreadcrumbTitle<% else %>$Title<% end_if %></title>
<link href="$Link">$Link</link>
<id>urn:uuid:$ID</id>
<content type="text">$Content.LimitCharacters(200)</content>
</entry>
<% end_control %>
</feed>