Adding a OpenSearch description file
Created by: leo-unglaub
Hey, it would be very awesome if you could add an OpenSearch description file. That way the user cann add the package search to the browser and simply use the browser to search dircetly thru the package database.
I addded you an untested version of the correct xml and header tag.
<link rel="search" type="application/opensearchdescription+xml" href="opensearch.xml" title="Alpine Linux Package Database"/>
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://mozilla.org/2006/browser/search">
<ShortName>Alpine Linux Package Database</ShortName>
<Description>Search for Alpine Linux packages (apk)</Description>
<Tags>linux alpine packages apk</Tags>
<Contact>webmaster@alpinelinux.org</Contact>
<Url type="text/html" method="GET" template="https://pkgs.alpinelinux.org/packages">
<Param name="name" value="{searchTerms}"/>
<Param name="repo" value="all"/>
<Param name="arch" value="x86_64"/>
<Param name="maintainer" value="all"/>
</Url>
<LongName>Alpine: Search packages</LongName>
<Image height="16" width="16" type="image/png">https://alpinelinux.org/favicon.ico</Image>
<InputEncoding>UTF-8</InputEncoding>
</OpenSearchDescription>
Thanks and greetings Leo