OpenSearch

OpenSearch

rubenwardy's picture

OpenSearch allows websites to specify their own search mechanisms for the search bar of browsers. This means that you could search for resources from the search bar.

See the wikipedia and twitter links? This would allow OGA to be added there too.
It's as simple as this. In the <head> of all webpages:

<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">

opensearch.xml

<OpenSearchDescription>
    <ShortName>OpenGameArt</ShortName>
    <Description>Search OpenGameArt</Description>
    <InputEncoding>UTF-8</InputEncoding>
    <Image width="16" height="16" type="image/x-icon">
        https://opengameart.org/favicon.ico
    </Image>
    <Url type="text/html" method="get"
            template="http://opengameart.org/art-search-advanced?keys={searchTerms}"/>
    <moz:SearchForm>
        http://opengameart.org/art-search-advanced
    </moz:SearchForm>
</OpenSearchDescription>