Anonymous | Login | Signup for a new account | 2024-05-07 23:24 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
View Revisions: Issue #1155 | [ Back to Issue ] | ||
Summary | 0001155: Integrate OpenSearch | ||
Revision | 2011-11-02 03:49:39 by alex | ||
Description | 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). |
||
Revision | 2011-11-01 22:41:04 by alex | ||
Description | 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). |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |