GoogleSearch

Summary:Add a searchbox for site and websearch using google
Version: 2006-11-27
Prerequisites: pmwiki 2
Status:
Maintainer:
Categories: Searching, Google
Discussion: GoogleSearch-Talk

Questions answered by this recipe

How can I add a google search box?
how can I add site search using google?

Description

Add the following markup to your page, replace the site url with your own:

(:table :)
(:cell:) 
(:input form action="http://www.google.com/search" method=get:)
(:input text name=q value="" size=30 :)
(:input submit name Search:)
(:cellnr:) 
%padding-left=30px%(:input checkbox name="sitesearch" value="pmwiki.org" checked=checked :) [-only pmwiki.org-]
(:input end:)
(:tableend:)

only pmwiki.org

Notes

Release Notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See Also

Contributors

Comments

See Discussion at GoogleSearch-Talk

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.