Files
Piped-Material/public/opensearch.xml
T
2022-08-15 23:52:26 +05:30

12 lines
916 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Piped</ShortName>
<LongName>Piped Search</LongName>
<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>
<!-- TODO somehow make this dynamic, using VUE_APP_PIPED_URL, or maybe this can be generated in real time and encoded in place of using a href using vue-meta and rendertron -->
<Url method="get" rel="results" type="text/html" template="https://pipedapi-libre.kavin.rocks/results?search_query={searchTerms}" />
<Url method="get" rel="suggestions" type="application/x-suggestions+json" template="https://pipedapi-libre.kavin.rocks/opensearch/suggestions?query={searchTerms}" />
</OpenSearchDescription>