aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-03-18 04:10:30 -0400
committerfrosty <gabriel@bwaaa.monster>2026-03-18 04:10:30 -0400
commit9dc056dc405ec2c23b3e802624c5596f518608d3 (patch)
tree2512df7de25e74b5fcb698486a41a2fef2286c0b /templates
parente1ad06ea257a60e90ea0877f5c12a289b541aa55 (diff)
downloadomnisearch-9dc056dc405ec2c23b3e802624c5596f518608d3.tar.gz
feature: moved domain for opensearch to config
Diffstat (limited to 'templates')
-rw-r--r--templates/opensearch.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/opensearch.xml b/templates/opensearch.xml
new file mode 100644
index 0000000..8544b09
--- /dev/null
+++ b/templates/opensearch.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<OpenSearchDescription
+ xmlns="http://a9.com/-/spec/opensearch/1.1/"
+ xmlns:moz="http://www.mozilla.org/2006/browser/search/">
+ <ShortName>OmniSearch</ShortName>
+ <Description>Lightweight metasearch engine</Description>
+ <Url type="text/html" method="get" template="{{domain}}/search?q={searchTerms}"/>
+ <InputEncoding>UTF-8</InputEncoding>
+ <OutputEncoding>UTF-8</OutputEncoding>
+ <moz:SearchForm>{{domain}}/</moz:SearchForm>
+</OpenSearchDescription>