Google Calendar API Released

The API for Google Calendar has been released, and after a quick initial skimming of the document, I think a CFC could be built to interact with the system. I'm going to start work on a simple reader for now to allow for something like this:

<cfset gCal = createObject("component", "GoogleCalendar").init("your private url goes here")> <!--- get entries returns all. Now says only after now ---> <cfset entries = getCal.getEntries(now())> <cfloop query="entries"> etc </cfloop>

Once reading is done then I'll start work on writing as well. This could be an excellent way to integrate a web site with Google calendar. Imagine allowing folks to request meetings by simply adding a form to your site.

Archived Comments

Comment 1 by Ryan Guill posted on 4/20/2006 at 4:42 PM

Oh this is going to be great... I only wish that it was sort of like google maps where it would draw all of the calendar views for you too! But beggars can't be choosers, this is a great thing.

Comment 2 by John Farrar posted on 4/20/2006 at 5:42 PM

There is a cool component for DW available from CommunityMX.com also for doing Google maps.

Comment 3 by Nathan D posted on 4/20/2006 at 7:26 PM

Are you aware that your code doesn't escape in the RSS feed (creating some very odd posts, if you don't think to click through to see the code)?

Comment 4 by Raymond Camden posted on 4/20/2006 at 7:32 PM

Are you sure? I just view-ed source on it, and I saw escaped HTML.

Comment 5 by Kyle Hayes posted on 4/21/2006 at 12:35 AM

I have the same problem with very strange results. The only thing I saw was "etc"