feat(opensearch): add abilility to add libremdb as search engine
thanks to @user451421541757324 re https://github.com/zyachel/libremdb/issues/95
This commit is contained in:
7
public/opensearch.xml
Normal file
7
public/opensearch.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<ShortName>libremdb</ShortName>
|
||||
<Description>Search libremdb</Description>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<Image width="16" height="16" type="image/x-icon">https://libremdb.iket.me/favicon.ico</Image>
|
||||
<Url type="text/html" method="get" template="https://libremdb.iket.me/find?q={searchTerms}"/>
|
||||
</OpenSearchDescription>
|
@ -36,6 +36,13 @@ const Meta = ({
|
||||
<meta property='og:locale' content='en_US' />
|
||||
<meta property='og:type' content='video.movie' />
|
||||
<meta property='og:image' content={url.toString()} />
|
||||
|
||||
<link
|
||||
rel='search'
|
||||
type='application/opensearchdescription+xml'
|
||||
href='/opensearch.xml'
|
||||
title='libremdb'
|
||||
></link>
|
||||
</Head>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user