summaryrefslogtreecommitdiff
path: root/templates/packages
diff options
context:
space:
mode:
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/opensearch.xml17
1 files changed, 11 insertions, 6 deletions
diff --git a/templates/packages/opensearch.xml b/templates/packages/opensearch.xml
index 216be3e9..6c50d991 100644
--- a/templates/packages/opensearch.xml
+++ b/templates/packages/opensearch.xml
@@ -1,13 +1,18 @@
-<?xml version="1.0" encoding="UTF-8"?>
+{% load static from staticfiles %}<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
- <ShortName>Arch Linux Packages</ShortName>
- <Description>Search the Arch Linux package repositories.</Description>
+ <ShortName>Arch Packages</ShortName>
+ <LongName>Arch Linux Package Repository Search</LongName>
+ <Description>Search the Arch Linux 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="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="self" type="application/opensearchdescription+xml" template="{{domain}}/opensearch/packages/"/>
+ <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>