[ci] Update macos jobs
[xapian.git] / xapian-applications / omega / templates / opensearch
blobe77533fd43034204859557b8f3d5a2571a4ba007
1 $httpheader{Content-Type,application/xml}<?xml version="1.0" encoding="UTF-8"?>
2 $setmap{prefix,,$split{ S B F},title,S,author,A,topic,B}
3   <rss version="2.0" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">
4     <channel>
5       <title>Xapian search results</title>
6       <link>$html{$env{SCRIPT_NAME}?DB=$url{$dbname}&P=$url{$query}}</link>
7       <description>Search results for "$html{$query}" at xapian.org</description>
8       <language>en</language>
9       <copyright>(C)2005, Xapian.org</copyright>
10       <openSearch:totalResults>$msize</openSearch:totalResults>
11       <openSearch:startIndex>$add{topdoc,1}</openSearch:startIndex>
12       <openSearch:itemsPerPage>$hitsperpage</openSearch:itemsPerPage>
13 $hitlist{
14       <item>
15         <title>$html{$or{$field{title},$field{caption}}}</title>
16         <link>$html{$field{url}}</link>
17         <description>$html{$highlight{$field{sample},$terms,&lt;strong&gt;,&lt;/strong&gt;}$if{$field{sample},...}}</description>
18       </item>}
19     </channel>
20   </rss>