Skip to content

CakePHP Open Search plugin/helper for creating installable search plugins for IE, Firefox and Chrome

Notifications You must be signed in to change notification settings

dereuromark/cakephp-opensearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CakePHP OpenSearch Plugin

Create a nice web search that integrates into modern browsers (direct search using TAB).

See http://de.wikipedia.org/wiki/OpenSearch

CakePHP2.x

Installation

Composer

This is the preferred way of installing:

"require": {
	"dereuromark/cakephp-opensearch": "dev-master"
}

Manual

Copy the plugin over to your App/Plugin/ directory.

Preparation

  1. Create appropriate table (cake console: cake schema create OpenSearch.OpenSearch)
  2. Create an action for performing searches
  3. Add at least one search type (via backend admin/open_search/addons/ for example)

Usage

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.

TODO

Cleanup and more features from http://www.opensearch.org/

Dependencies

My Tools Plugin for admin backend actions (optional, you can directly use Mysql, as well).

Licence

MIT

Łukasz Korecki 2009

Mark Scherer 2012

About

CakePHP Open Search plugin/helper for creating installable search plugins for IE, Firefox and Chrome

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages