<?xml version="1.0" encoding="UTF-8"?>
<!--
	OpenSearch description document.
	Spec: https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md

	Lets browsers register spelning.se as a custom search engine. Chrome
	auto-detects via the <link rel="search"> in app.html the first time
	a user visits, then surfaces the site in the omnibox's "search
	suggestions" dropdown when the user types "spelning.se" + Tab.
	Firefox exposes it in the search bar's add-engine dialog. Brave and
	other Chromium derivatives behave like Chrome.

	The Mozilla namespace (`xmlns:moz`) and `<moz:SearchForm>` element
	are a Firefox-specific extension — gives Firefox a URL to open when
	the user clicks the engine's icon in the search bar without typing
	a query. Harmless in Chrome (ignored).

	We deliberately omit a `<Url type="application/x-suggestions+json">`
	suggestions endpoint. /api/search exists for full result pages but
	there's no JSON suggest endpoint that conforms to OpenSearch's
	expected shape (`["query", ["suggestion1", ...]]`); leaving it out
	is better than pointing at a non-conforming URL that browsers would
	silently fail on.
-->
<OpenSearchDescription
	xmlns="http://a9.com/-/spec/opensearch/1.1/"
	xmlns:moz="http://www.mozilla.org/2006/browser/search/">
	<ShortName>spelning.se</ShortName>
	<LongName>spelning.se — Konserter & festivaler i Sverige</LongName>
	<Description>Sök konserter, festivaler, artister och scener i Sverige.</Description>
	<InputEncoding>UTF-8</InputEncoding>
	<Image width="16" height="16" type="image/x-icon">https://www.spelning.se/favicon.ico</Image>
	<Image width="256" height="256" type="image/png">https://www.spelning.se/favicon.png</Image>
	<Url type="text/html" method="get" template="https://www.spelning.se/sok?q={searchTerms}"/>
	<Language>sv-SE</Language>
	<moz:SearchForm>https://www.spelning.se/sok</moz:SearchForm>
</OpenSearchDescription>
