summaryrefslogtreecommitdiff
path: root/templates/packages/opensearch.xml
blob: 5aa4d5d7c9293300d293ab3fa80c9438128a1f3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% load static from staticfiles %}<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
	<ShortName>{{BRANDING_SHORTNAME}} Packages</ShortName>
	<LongName>{{BRANDING_DISTRONAME}} Package Repository Search</LongName>
	<Description>Search the {{BRANDING_DISTRONAME}} package repositories by keyword in package names and descriptions.</Description>
	<Tags>linux archlinux package software</Tags>
	<Image height="16" width="16" type="image/x-icon">{{ domain }}{% static "favicon.ico" %}</Image>
	<Image height="64" width="64" type="image/png">{{ domain }}{% static "logos/icon-transparent-64x64.png" %}</Image>
	<Language>en-us</Language>
	<InputEncoding>UTF-8</InputEncoding>
	<OutputEncoding>UTF-8</OutputEncoding>
	<Query role="example" searchTerms="initscripts"/>
	<Url type="text/html" template="{{ domain }}/packages/?q={searchTerms}"/>
	<Url rel="suggestions" type="application/x-suggestions+json"
		template="{{ domain }}/opensearch/packages/suggest?q={searchTerms}"/>
	<Url rel="self" type="application/opensearchdescription+xml"
		template="{{ domain }}/opensearch/packages/"/>
</OpenSearchDescription>