feat: Add OpenSearch support for browser integration#126
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| <InputEncoding>UTF-8</InputEncoding> | ||
| <OutputEncoding>UTF-8</OutputEncoding> | ||
| <Query role="example" searchTerms="!g cats"/> | ||
| </OpenSearchDescription> No newline at end of file |
There was a problem hiding this comment.
The XML file is missing a trailing newline at the end. Adding a newline after the closing </OpenSearchDescription> tag would follow standard file formatting conventions and prevent potential issues with certain tools and version control systems. This is considered a best practice for text files in Unix/Linux environments.
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
|
@t3dotgg Sorry for the Would love to be able to use unduck.link in Vanadium on GrapheneOS, but that browser only supports adding search engines via OpenSearch. If you need to see manual verification of OpenSearch working before blindly merging this PR, react with a 👀 and I'll try to set this up in a fork and provide before/after screen recordings or something. |
This PR adds support for the OpenSearch standard, allowing users to add Unduck as a search engine in their browser. The opensearch.xml is based on YouTube's one.
Changes:
To Test: