Category Archives: Productivity

Check out my jQuery beginners Article at

The article Dive Into jQuery (Part 1 appears in the April online and print editions of The target audience is primarily IBM i developers, but it’s actually a good introduction for anyone, regardless of server-side technology, who wants to learn jQuery.

How To Embed A Google Calendar Gadget In Your Web Site

Google provides two simple ways, other than you writing your own client code to talk to their APIs, to embed a calendar in your web page. One method is easily found by Googling for the info. This link explains how you can generate a piece of code directly from your calendar settings page, which you then paste into your page. This code uses a simple iframe. The other method is to use a Google Gadget. While they are primarily meant to embed in iGoogle, you can also embed them in your own site. Here’s how:

  1. Log in to the Google account that owns the calendar you want to embed.
  2. Make sure the sharing option is set to public (if that’s truly what you want!)
  3. Go to this URL: This is a Google gadget.  Note the last part of the URL – calendar3.xml .  DO NOT use calendar.xml . It doesn’t work any more (as I found out to my chagrin when the  calendar for our local soccer club web site suddenly stopped rendering for no apparent reason).
  4. You’ll see a link in the bottom right hand side of the page, titled: Embed this gadget >> , which means ‘Embed this gadget in some page other than at iGoogle’.   Click on this link .
  5. Customize the gadget’s appearance with the available options. You should see the changes you make reflected immediately. If not, click ‘Preview Changes’.
  6. Once you are happy with the final appearance, click ‘Get the code’
  7. Select the generated code in the text box, copy and paste it into your page.

The gadget uses an XML feed via web services to draw the content directly in the page, as opposed to using an Iframe, which for a Geek like me is a much more elegant solution than more easily found one. Plus, I like the fact you get a monthly calendar with a list of upcoming events directly below it. (When you customize the gadget’s appearance, change the height to 400px, for example, and you’llsee what I mean).

You can see a working example at Saanich Peninsula Soccer Club’s site.

Tip for Using Picasa and Apple TV

I finally Googled to find an answer to this simple problem, which is:
When you load pictures in Picasa, it cleverly rotates them the correct way. However, Picasa does not change the underlying originals (look at them with Windows Explorer if you don’t believe me). So when you synch or stream these pictures on your Apple TV you’ll see the audience’s heads turn to one side in unison every so often, to view a sideways picture. The solution is simple, and is recorded at Google’s support site: click in the folder of pics you want to view on your Apple TV, then click the ‘save edited photos to disk’ icon, which looks like a diskette – just to the left of the ‘share’ button.

This has saved me a ton of time compared to having to rotate the images manually. Why didn’t I research this earlier?