How to enable GLinks as an OpenSearch service
Step 1
You need to create an osd.xml file with something like this:
<OpenSearchDescription>
<ShortName>...</ShortName>
<Description>...</Description>
<Contact>...(email)</Contact>
<Url type="text/html" method="get" template="http://.../cgi-bin/search.cgi?query={searchTerms}"></Url>
<LongName>...</LongName>
<Image height="32" width="32" type="image/vnd.microsoft.icon"/>
<Image height="16" width="16" type="image/png">...</Image>
<Image height="16" width="16" type="image/vnd.microsoft.icon">.../favicon.ico</Image>
<Query role="example" searchTerms="John"/>
<Developer>John Gotze</Developer>
<SyndicationRight>open</SyndicationRight>
<AdultContent>false</AdultContent>
<Language>en-us</Language>
<OutputEncoding>UTF-8</OutputEncoding>
<InputEncoding>UTF-8</InputEncoding>
</OpenSearchDescription>
Step 2
In a common template in GLinks, insert this in the HEAD-element:
<link rel="search" type="application/opensearchdescription+xml" title="..." href="http://.../osd.xml">
This adds autodiscovery.
Step 3
Visit your site. Check your browser's search field. List options. You should have an option to add your search engine. The same option will be available for all users.
Step 1
You need to create an osd.xml file with something like this:
<OpenSearchDescription>
<ShortName>...</ShortName>
<Description>...</Description>
<Contact>...(email)</Contact>
<Url type="text/html" method="get" template="http://.../cgi-bin/search.cgi?query={searchTerms}"></Url>
<LongName>...</LongName>
<Image height="32" width="32" type="image/vnd.microsoft.icon"/>
<Image height="16" width="16" type="image/png">...</Image>
<Image height="16" width="16" type="image/vnd.microsoft.icon">.../favicon.ico</Image>
<Query role="example" searchTerms="John"/>
<Developer>John Gotze</Developer>
<SyndicationRight>open</SyndicationRight>
<AdultContent>false</AdultContent>
<Language>en-us</Language>
<OutputEncoding>UTF-8</OutputEncoding>
<InputEncoding>UTF-8</InputEncoding>
</OpenSearchDescription>
Step 2
In a common template in GLinks, insert this in the HEAD-element:
<link rel="search" type="application/opensearchdescription+xml" title="..." href="http://.../osd.xml">
This adds autodiscovery.
Step 3
Visit your site. Check your browser's search field. List options. You should have an option to add your search engine. The same option will be available for all users.