Create a nice web search that integrates into modern browsers (direct search using TAB).
See http://de.wikipedia.org/wiki/OpenSearch
CakePHP2.x
This is the preferred way of installing:
"require": {
"dereuromark/cakephp-opensearch": "dev-master"
}
Copy the plugin over to your App/Plugin/ directory.
- Create appropriate table (cake console:
cake schema create OpenSearch.OpenSearch
) - Create an action for performing searches
- Add at least one search type (via backend
admin/open_search/addons/
for example)
Use the helper to render appropriate links in the layout:
$this->loadHelper('OpenSearch.OpenSearch');
echo $this->OpenSearch->metaLink('web', 'my title');
for example, if you added web
as search type.
Cleanup and more features from http://www.opensearch.org/
My Tools Plugin for admin backend actions (optional, you can directly use Mysql, as well).
MIT
Łukasz Korecki 2009
Mark Scherer 2012