MyGoogleCal2 no longer works 100% in Internet Explorer. A runtime error occurs when navigating month-to-month or when switching to Agenda mode. The workaround is to simply hide the navigation interface. Now, I don’t know if this bug was introduced when Google updated the code last month, or if it’s always been there and I just never noticed. In any case, the runtime error occurs when //"+a.host+"/calendar is replaced by //www.google.com/calendar. Given the poor debugging available in IE, I didn’t get very far with figuring out why IE breaks. I suspect that when IE makes an XmlHttpRequest, it’s double checking that the request URL matches up with the server host, or something to that effect. Since Google obfuscates the Javascript code, it’s just way too hard to try and fix it. Instead, I’ve opted to create a new version of MyGoogleCal that uses the original technique for IE but uses the technique from MyGoogleCal2 for all other browsers.
Read the rest of this entry »
Share This
One of my readers asked for a step-by-step set of instructions to install MyGoogleCal2.php. My original posts for restyling Google Calendar did assume a certain level of expertise. This should hopefully help those who are still confused.
Read the rest of this entry »
Share This
UPDATE: MyGoogleCal now has a third version.
The long awaited new version of MyGoogleCal is here. It supports the new AJAX-enabled Javascript method Google switched to last month. As a bonus, the new version has native support for multiple calendars each with their own colors! Other changes to the code include officially switching from fopen to curl to retrieve the data. Furthermore, the code replaces much less HTML since it’s encapsulated in Javascript. Without further ado…
Read the rest of this entry »
Share This
UPDATE: New post on the new version of MyGoogleCal.
UPDATE: Around September 7, 2007, Google rolled out a JavaScript version of the embedded calendar. See Comments #71 and #72 for a workaround.
UPDATE: New post on how to restyle Google Calendar Gadget.
I had suggested that my company use Google Calendar to publish events. It’s easy, it can be made public and shareable, and it beats figuring out how to publish an Outlook/Exchange calendar on the web. (From what I’ve read about Google Calendar, you can publish multiple calendars individually controlling the level of privacy and publicity—ooo, maybe we can migrate away from Exchange…) Yet, the coolest part about Google Calendar is that you can embed it in your web page using an iframe which Google provides a handy-dandy configurator to generate the HTML. The worst part about Google Calendar is that you embed it in your web page using an iframe.
Read the rest of this entry »
Share This