GoogleCSE

Summary:Adds markup for a Google Custom Search Engine
Version:2007-02-24
Prerequisites:PmWiki 2
Status:Stable
Maintainer:
Discussion: GoogleCSE-Talk?

Questions answered by this recipe

This section is optional; use it to indicate the types of questions (if any) this recipe is intended to answer. How can I insert a Google Custom Search Engine into my wiki?

Description

Adds markup for a Google Custom Search Engine to PmWiki.

You can do it with googlecse.phpΔ.

Place this file in your cookbook directory. Then use this in your local configuration file:

  include_once("$FarmD/cookbook/googlecse.php");

This adds the (:googlecse:) markup to your wiki editing palette. You need to be aware of the following parameters:

  api : your google API. (required)
  cse : you have to have created this cse before--this is its code. (required)
  synd : ads or not.   defaults to open.
  w : width (default = 320)
  h : height (default = 75)
  title : title displayed at the top above the box
  border : borders around the box
  output : js = javascript?

For more information, see the Google CSE documentation.

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".

2007-02-24: Initial release.

See Also

Contributors

Comments

See Discussion at GoogleCSE-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.