Google Calendar Widget

From Hexten

Jump to: navigation, search

The Google Calendar Widget is a Wiki Widget that embeds a Google calendar on a wiki page.

[edit] Example

Here's an example

 
  <widget type="googlecalendar" src="hexten@gmail.com" />
  

Go to the Calendar to see what it looks like.

[edit] Reference

[edit] 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 500)
height
sets the height of the embedded calendar in pixels (default 300)
src
specifies the calendar to display

To find the value for the src parameter go to your Google calendar, go to Calendar settings, and click on the HTML button

Image:Googcal1.png

A window will open containing the URL of the calendar. The URL will look like this:

 
  http://www.google.com/calendar/embed?src=hexten%40gmail.com
  

The bit you want is everything after embed?src=. Use that as the source parameter:

 
  <widget type="googlecalendar" src="hexten%40gmail.com" />
  

Sometimes the URL Google calendar gives you will be longer:

 
  http://www.google.com/calendar/embed?src=nmu9k169845fg813rjjb3mm7ko%40group.calendar.google.com
  

which would translate into:

 
  <widget type="googlecalendar" src="nmu9k169845fg813rjjb3mm7ko%40group.calendar.google.com" />
  
Personal tools
Mongers