Opensearchkick

Adding opensearch fuinctionality to your Application. Right now untested opensearch-functionality. Soon with suggestion support.

Dependency

opensearchkick will use searchkick for the suggestion functionality.

Installation

Add this line to your application's Gemfile:

gem 'opensearchkick'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install opensearchkick

Usage

You config everything with the initializer, create it by running the following command:

$ rails g opensearchkick:install

And you will have opensearchkick.rb in your initializer directory. After that you just need to add following line to your header:

<link rel="search" type="application/opensearchdescription+xml" href="opensearch.xml" title="Your Application name" />

Contributing

  1. Fork it ( https://github.com/dirble/opensearchkick/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request