This is an extension that uses the Google REST Search API to obtain search results from google and display them in Radiant.
The extension uses a special page type called Google Search to display the search results. This page type has special Radius tags beginning with
gsearch to display the search results. You must create a page of this type to start using the extension and build your search results page using the provided tags. Refer to the embedded documentation for tag descriptions.
|Record Created||May 2, 2010 (over 7 years ago)|
|Last Updated||September 22, 2010 (almost 7 years ago)|
At the command prompt, in the root of your Radiant project, type:
script/extension install google_search
After installing the extension in
your-radiant-site/vendor/extensions/google_search , run
rake radiant:extensions:google_search:migrate . This will write two blank settings,
google_search.custom_search_id into Radiant::Config table.
Then you must get an API key from Google in order to get the extension to work, and you probably will want to make a Google Custom Search Engine and use it to restrict searches to your own site, otherwise the API will return search results from the whole web.
Either set the configuration keys in your
environment.rb file or better yet, install the Settings extension. Remember, you need the API key!