Google Co-op Search Widget

From Hexten

Jump to: navigation, search

The Google Search Co-op Widget is a Wiki Widget that embeds a Google Co-op Search on a wiki page. Don't get attached to it; the Google Gadget Widget will replace it.

Example

Here's an example

 
  <widget type="googlecoop" uid="008709583689349882482" sid="w2_rnxeqmu0" title="Perl Flavoured Google" />
  

And here's what it looks like:

Reference

Parameters

debug
display debug information for the widget (default 0)
disabled
temporarily disable display of widget (default 0)
width
sets the width of the embedded calendar in pixels (default 320)
height
sets the height of the embedded calendar in pixels (default 75)
title
the title for the search box
border
the border style for the search box
uid
the user id of the search
sid
the search id of the search

To find the uid and sid parameters for a particular search take the URL for the search. It'll look something like this:

 
  http://www.google.com/coop/cse?cx=008709583689349882482%3Aw2_rnxeqmu0
  

The uid is the string of digits after cse?cx= up to the %3A and the sid is everything after %3A so the corresponding widget code would be:

 
  <widget type="googlecoop" uid="008709583689349882482" sid="w2_rnxeqmu0" title="Perl Flavoured Google" />
  
Personal tools
Mongers