Skip to content

Instantly share code, notes, and snippets.

@erin-allison
Forked from claui/opensearch-aur.xml
Last active December 19, 2021 17:31
Show Gist options
  • Save erin-allison/a67571693ab68b2503c71c0f591fa27c to your computer and use it in GitHub Desktop.
Save erin-allison/a67571693ab68b2503c71c0f591fa27c to your computer and use it in GitHub Desktop.
OpenSearch descriptor for the Arch User Repository (AUR)
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>AUR Packages</ShortName>
<LongName>Arch User Repository</LongName>
<Description/>
<InputEncoding>UTF-8</InputEncoding>
<Image height="16" width="16" type="image/x-icon">https://www.archlinux.org/static/favicon.29302f683ff8.ico</Image>
<Image height="64" width="64" type="image/png">https://www.archlinux.org/static/logos/icon-transparent-64x64.9ed71ce9197d.png</Image>
<Url type="text/html" template="https://aur.archlinux.org/packages/">
<Param name="O" value="0"/>
<Param name="K" value="{searchTerms}"/>
</Url>
<!--
Suggestions don’t work as of 2019-05-31;
the expected response (["pac", ["pacfoo", "pacbar"]])
does not match the actual response (["pacfoo", "pacbar"])
-->
<!--
<Url rel="suggestions" type="application/x-suggestions+json"
template="https://aur.archlinux.org/rpc/">
<Param name="v" value="5"/>
<Param name="type" value="suggest"/>
<Param name="arg" value="{searchTerms}"/>
</Url>
-->
</OpenSearchDescription>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment