Search this site: [Advanced Search]
 

Messages: 1 of 1. Pages: 1
Comments/Replies (0) appear below in chronological order. Comment form is at bottom of page.
Update: googleBox How-to (#300)
Posted: 7/17/2002; 4:11 PM by Terry Frazier
Reply | Trackback URL | Weblog Permalink
3. You do need to create an account with Google to get the key that's required by the Radio and Frontier glue They have a limit of 1000 calls to their server per day per user. For the applications we have in mind this should not be an important limit. And it's good that they've put the limit there, so that they can at some point make this a commercial for-pay service, which we believe it should be.

4a. Radio 8 users: Update Radio.root. Bring the Radio app to the front and choose Quick Script from the Developers sub-menu of the Tools menu. Enter google.init () and press Enter. Then choose Jump from the Developers sub-menu of the Tools menu and enter user.google. You should see an item called key. Click in the second column, enter the key you received from the Google website.

First, the instructions for Radio.

<%google.macros.box ("your name here")%>

This renders as a box, like the one you see on Weblogs.Com in the right margin, or on my Radio weblog, here.

Here's a list of parameters to google.macros.box:

1. searchterm is the only required parameter. It's the search string you would enter through Google's HTML interface.

2. ctResults, a number, default 10, indicates the number of results you want to see in the box.

3. tableWidth, a number, default 191, says how wide the box is.

4. frameColor, a string, default #000000, it's the color that the box frame is drawn in.

5. boxColor, a string, default #FFFFFF, the color of the inside of the box.

6. helpLink, a string, is the url of a page that explains what the box is about. Default is a page on the Radio site that doesn't exist yet.

7. textClass, a string, default the empty string, is the CSS class for all text in the box. If it's the emtpy string we enclose all text in a element with a size="-1" attribute.

Update: I found this thread on googleBox parameter examples along with a note from Phil Wolff on passing the name of a category to the macro. Neat idea. No resolution shown.

Total Messages: 1. Pages: 1

Trackbacks

What other weblogs are saying about this topic. Trackback URL: http://www.terryfrazier.com/300/trackback

Reply to message #300...

You must logon before posting a reply

You must login to your account to post a comment. If you do not have an account you can create one here. It's a bit inconvenient but only takes a moment and helps control spam and other bad actors.