This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27754 - Add an opensearch.xml file for the HTML Standard
Summary: Add an opensearch.xml file for the HTML Standard
Status: RESOLVED WONTFIX
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-05 19:40 UTC by Domenic Denicola
Modified: 2015-01-07 05:02 UTC (History)
3 users (show)

See Also:


Attachments

Description Domenic Denicola 2015-01-05 19:40:41 UTC
I created this search plugin for my Firefox and think it'd be cool if the spec advertised it for autodiscovery:

https://gist.githubusercontent.com/domenic/12a8b54fd197d547eccc/raw/db0dd94b3408e84c9e28ab0a96ce1c23708efa87/opensearch.xml

To install it:

- serve it with mimetype application/opensearchdescription+xml
- Add a <link> to the HTML standard of the form <link rel="search" type="application/opensearchdescription+xml" title="HTML Standard" href="__url__goes__here__">

Also consider adding an entry

<Url type="application/opensearchdescription+xml"
     rel="self"
     template="__absolute_url_to_search_plugin__" />

before uploading it, because then we can automatically update it in the future if we have ideas on how to make it better.
Comment 1 Anne 2015-01-06 09:40:57 UTC
The google.com links should probably use https URLs, no?
Comment 2 Domenic Denicola 2015-01-06 12:29:31 UTC
How embarassing. Fixed!
Comment 3 Ian 'Hixie' Hickson 2015-01-06 22:54:29 UTC
I don't think it would be appropriate for the spec to prefer Google over other search engines, and there's a long tail of search engines who would want to get into this game if I started playing it.
Comment 4 Domenic Denicola 2015-01-07 05:02:37 UTC
That's a good point and I don't really see a way around it. I guess it will just remain my little search plugin I distribute to friends and use on my browsers.