Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add <link> for OpenSearch autodiscovery #104

Merged
merged 2 commits into from
Jun 1, 2020

Conversation

kevinoid
Copy link
Contributor

@kevinoid kevinoid commented Jun 1, 2020

Great project! I was hoping to add it to my Firefox search engines, but, although opensearch.xml is available, my browser couldn't find it because it isn't linked from the HTML pages as described in OpenSearch Autodiscovery in HTML/XHTML. This PR adds the necessary <link> element to the search and results pages.

Thanks for considering,
Kevin

P.S. It also fixes a small typo I noticed. If you'd prefer that commit be submitted separately, let me know.

Although opensearch.xml was already defined, browsers wouldn't find it
because it wasn't linked from the HTML pages as described in
[Autodiscovery in HTML/XHTML].  This commit adds the necessary <link>
elements to the search and results pages.

[Autodiscovery in HTML/XHTML]: https://github.com/dewitt/opensearch/blob/c9ed38a/opensearch-1-1-draft-6.md#autodiscovery-in-htmlxhtml

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
@stapelberg stapelberg merged commit 199682b into Debian:master Jun 1, 2020
@stapelberg
Copy link
Contributor

Thanks! This is now deployed

@kevinoid
Copy link
Contributor Author

kevinoid commented Jun 1, 2020

Thanks for the lightning-fast review, merge, and deploy! I just added DCS to Firefox using autodiscovery, and it worked like a charm.

@stapelberg
Copy link
Contributor

Great, thanks for confirming :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants