In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1155 [In-Portal CMS] Front End feature request always 2011-11-01 22:41 2011-11-02 03:54
alex  
 
normal  
active  
open  
 
none  
https://groups.google.com/d/topic/in-portal-dev/c1lH7uqYUHc/discussion
Integrated OpenSearch
1
0001155: Integrate OpenSearch
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={searchTerms}&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>


Full specifications: http://www.opensearch.org/Specifications/OpenSearch/1.1

No additional programming needed, only create XML file with a set of settings.

NOTES:

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).
Recently I've accidentally pressed TAB when typing a website address. And my Google Chrome browser displayed site-specific search form, that allowed me search data on that site even without visiting it.
Issue History
2011-11-02 03:54 alex Reporter Dmitry => alex
2011-11-02 03:49 alex Description Updated bug_revision_view_page.php?rev_id=902#r902
2011-11-01 22:41 Dmitry New Issue
2011-11-01 22:41 Dmitry Reference => https://groups.google.com/d/topic/in-portal-dev/c1lH7uqYUHc/discussion
2011-11-01 22:41 Dmitry Change Log Message => Integrated OpenSearch
2011-11-01 22:41 Dmitry Estimate Points => 1

There are no notes attached to this issue.