GoogleCustomSearch ================== Rewritten version of the GoogleCustomSearch plugin, replacing the now deprecated AJAX API with the Google Site Search XML API. How to Use ========== After adding the Google Custom Search plugin to your vendor/plugins directory, add the following to your environment.rb file: GoogleCustomSearch::Search.google_search_api_key = "Your Google API Key" From there, you can run a search like so: @results = GoogleCustomSearch::Search.new.with_page_index(1).for url_encode("query") Result items can be accessed through the items parameter (i.e. result.items). An example implementation for a view: <% @results.items.each do |result_item| %>