Google Ajax Search

Description

The main googleajaxsearch module allows you to add searchers over a number
of Google services (Web Search, Local Search, Video Search, Blog Search, News Search, Image Search, Book Search and Patent Search).

Installation

1) copy the googleajaxsearch directory into the modules directory

2) Get a Google Ajax Search API Key at http://code.google.com/apis/ajaxsearch/signup.html

3) enable the 'googleajaxsearch' module in drupal

4) edit admin/settings/googleajaxsearch to include the key you received from google and
set number of searchers on page.

5) configure searchers at: Home > Administer > Site building > Blocks
Each searcher is recognized as a block (e.g. Search block 0). To configure it select 'configure'.

Available features:

  • googleajaxsearch block in the block section
  • block title enable/disable
  • custom block title
    • available google inline searchers:
    • web search
    • blog search
    • news search
    • video search
    • local search
    • image search
    • book search
    • patent search
    • google control modes:
    • tabbed
    • linear
    • link target:
    • blank
    • self
    • top
    • parent
  • enable search from root [search form in a different place than result]
  • Google Custom Search Engine integration
  • setSiterestriction for news searcher
  • setSiterestriction for blog searcher
  • set blog searcher results order
  • set news searcher results order
User

There is only 'administer googleajaxsearch' permission added by this module. Any other user-access permissions could be set in block configuration of searcher.

Plugins

You can write your own plugin for googleajaxsearch. Plugins system works by returning additional keywords from each enabled plugin and adds them to searcher textfield. Keywords from separate plugins are 'AND'-ed. Each keyword in plugin is concatenated by plugin-specific word. E.g. 'gaskeywords' plugin concatenates keywords with 'OR'. Check pluginsAPI.txt in module directory for more info about writing plugins.

Live examples
http://www.meant4.com/node/4
http://www.meant4.com/node/13

Contact us
development@meant4.com

Job opportunities

Meant4.pl Web Studio is hiring a PHP/MySQL programmers from Warsaw/Poland.

Get in touch with us via our contact form or call us +48 60089991 and we will take care about your project.