-
Type: Feature Request
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.3.0-B1
-
Component/s: General
-
Labels:None
-
External issue URL:
-
Additional information:
-
Change Log Message:Integrated OpenSearch
-
Story Points:2
-
External issue ID:1155
-
Sprint:In-Portal's First Sprint
-
Copy Issue Key:
-
Patch Instructions:
Integrate OpenSearch functionality.
For example you place <link rel="search" type="application/opensearchdescription+xml" href="http://www.website.com/opensearch.php" title="description_here" />
Then you provide that "opensearch.php" file, that contains OpenSearch settings, to be used by browser (or any program, that supports open search):
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Company</ShortName>
<Description>Company Search</Description>
<Contact/>
<Url type="text/html" template="http://www.website.com/index.php?story=
&do=search&subaction=search"/>
<LongName>Company Search</LongName>
<Image height="64" width="64" type="image/png">http://www.website.com/logo.png</Image>
<Image height="16" width="16" type="image/vnd.microsoft.icon">http://www.website.com/favicon.ico</Image>
<Developer>Company (http://www.website.com)</Developer>
<Attribution>Copyright 2007-2011 Company.</Attribution>
<SyndicationRight>open</SyndicationRight>
<AdultContent>false</AdultContent>
<Language>ru-ru</Language>
<OutputEncoding>windows-1251</OutputEncoding>
<InputEncoding>windows-1251</InputEncoding>
</OpenSearchDescription>
[B]Full specifications:[/B] [url]http://www.opensearch.org/Specifications/OpenSearch/1.1[/url]
No additional programming needed, only create XML file with a set of settings.
[B]NOTES:[/B]
It's better if we try creating a template so it ends as http://www.website.com/PATH/opensearch.html or something (and not PHP file).
- mentioned in
-
Wiki Page Loading...