Closed adityatelange closed 1 year ago
Hello Team,
We can add search bar support using a page which has opensearch config set.
opensearch
Contents of html:
<link rel="search" type="application/opensearchdescription+xml" title="aka.ms" href="/opensearch.xml">
Contents of opensearch.xml
opensearch.xml
<?xml version="1.0" encoding="UTF-8" ?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> <ShortName>aka.ms</ShortName> <Description>Search aka.ms</Description> <InputEncoding>UTF-8</InputEncoding> <Image width="16" height="16" type="image/x-icon">https://www.microsoft.com/favicon.ico?v2</Image> <Url type="text/html" method="get" template="https://aka.ms/{searchTerms}"></Url> </OpenSearchDescription>
This looks good. Would you be able to submit this as a PR? Thanks!
I think a solution is already merged with PR #4. That solution is way more easier than mine. Thank you for consideration, closing.
Hello Team,
We can add search bar support using a page which has
opensearch
config set.Contents of html:
Contents of
opensearch.xml
Demo: https://aka-ms.vercel.app (open in Firefox)