2007-04-06 07:04:27 +02:00
|
|
|
[[plugins/search]] could provide [OpenSearch](http://www.opensearch.org/)
|
|
|
|
metadata. Various software supports OpenSearch (see the Wikipedia article on
|
2008-07-21 13:31:33 +02:00
|
|
|
[[!wikipedia OpenSearch]]); in particular, browsers like Firefox and Iceweasel
|
2007-04-06 07:04:27 +02:00
|
|
|
will automatically discover an OpenSearch search and offer it in the search
|
2007-04-06 08:11:09 +02:00
|
|
|
box.
|
|
|
|
|
|
|
|
More specifically, we want to follow the [OpenSearch Description Document
|
|
|
|
standard](http://www.opensearch.org/Specifications/OpenSearch/1.1#OpenSearch_description_document),
|
|
|
|
by having a `link` with `rel="search"` and
|
|
|
|
`type="application/opensearchdescription+xml"` in the headers of HTML, RSS,
|
|
|
|
and Atom pages. The `href` of that `link` should point to an
|
|
|
|
OpenSearchDescription XML file with contents generated based on the
|
|
|
|
information in `ikiwiki.setup`, and the `title` attribute of the `link` should
|
|
|
|
contain the wiki title from `ikiwiki.setup`.
|
|
|
|
|
|
|
|
--[[JoshTriplett]]
|
2007-07-25 05:08:10 +02:00
|
|
|
|
|
|
|
[[wishlist]]
|