Skip Menu |

This queue is for tickets about the Net-Google-Calendar CPAN distribution.

Report information
The Basics
Id: 31715
Status: resolved
Priority: 0/
Queue: Net-Google-Calendar

People
Owner: simonw [...] cpan.org
Requestors: jamesw [...] bsdhosting.co.za
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Net::Google::Calendar::WebContent should accept more types
Date: Wed, 19 Dec 2007 09:11:26 -0800
To: Bugs in Net-Google-Calendar via RT <bug-Net-Google-Calendar [...] rt.cpan.org>
From: James Wright <jamesw [...] bsdhosting.co.za>
in Net/Google/Calendar/WebContent.pm: sub _set_type { my $self = shift; my $type = shift; unless ($type eq 'text/html' or $type =~ m!^image/!) { die "The type param must be text/html or image/*\n"; } $self->type($type); } But in the API documentation: http://code.google.com/apis/calendar/developers_guide_protocol.html#CreatingGadgets To create a Calendar Gadget that displays a Google Gadget, create an event entry with a web content link again, but this time the type should be |application/x-google-gadgets+xml|. You'll also need to get the gadget's URL from the Google Gadget Directory <http://www.google.com/ig/directory>. This example configures a Calendar Gadget to display the DateTime gadget and specifies the appropriate user preferences.
I've fixed this now as well as added in the ability to have preferences for widgets.