opensearch support
[phinde.git] / data / templates / opensearchdescription.htm
diff --git a/data/templates/opensearchdescription.htm b/data/templates/opensearchdescription.htm
new file mode 100644 (file)
index 0000000..6bc2f96
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
+ <ShortName>{{apptitle}}</ShortName>
+ <Description>Search</Description>
+ <Url type="application/atom+xml" rel="results"
+      template="{{absBaseUrl}}?q={searchTerms}&amp;page={startPage?}&amp;format=opensearch"/>
+ <Url type="text/html" rel="results" method="get"
+      template="{{absBaseUrl}}?q={searchTerms}"/>
+</OpenSearchDescription>