Skip to content

Opensearch Provider #65

Closed
Closed
@mikesherov

Description

@mikesherov

Ported from http://bugs.jquery.com/ticket/6670

It would be nice to see an OpenSearch provider added for the API documentation at  http://api.jquery.com so that the documentation can be searched using the search bar in the browser of your choice which supports the OpenSearch format. See  http://en.wikipedia.org/wiki/OpenSearch for more information.

The attached XML file is a mostly implemented example of the OpenSearchDescription.xml file which must be referenced in the header of a page/website supporting OpenSearch.

1   <?xml version="1.0" encoding="utf-8" ?>
2   <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
3     <ShortName>jQuery API Documentation Search</ShortName>
4     <Tags>jQuery api documentation</Tags>
5     <Description>
6       Search engine for jQuery API documentation
7     </Description>
8     <LongName>jQuery API Documentation Search</LongName>
9     <Image height="64" width="64" type="image/png">http://www.jquery.com/path/to/icon1.png</Image>
10    <Image height="16" width="16" type="image/vnd.microsoft.icon">http://www.jquery.com/path/to/icon2.ico</Image>
11    <Url type="text/html" template="http://api.jquery.com/?ns0=1&s={searchTerms}&go=" />
12  </OpenSearchDescription>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions