1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-12 21:30:27 +05:30

Add support for opensearch suggestions.

This commit is contained in:
FireMaskterK 2021-10-26 00:01:22 +01:00 committed by Kavin
parent 1df6c1d5a6
commit 3d1c15a0bc

View File

@ -5,5 +5,6 @@
<Description>Search for videos, channels, and playlists on Piped</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="48" height="48" type="image/x-icon">https://piped.kavin.rocks/favicon.ico</Image>
<Url type="text/html" method="get" template="https://piped.kavin.rocks/results?search_query={searchTerms}" />
<Url method="get" rel="results" type="text/html" template="https://piped.kavin.rocks/results?search_query={searchTerms}" />
<Url method="get" rel="suggestions" type="application/x-suggestions+json" template="https://pipedapi.kavin.rocks/opensearch/suggestions?query={searchTerms}" />
</OpenSearchDescription>