2 messages in com.googlegroups.google-mashup-editor[gme] Re: Generating a calendar feed ...
FromSent OnAttachments
empath15 Apr 2008 16:59 
Jason18 Apr 2008 11:14 
Subject:[gme] Re: Generating a calendar feed from application data?
From:Jason (gmej@google.com)
Date:04/18/2008 11:14:06 AM
List:com.googlegroups.google-mashup-editor

Hi john. Google Calendar allows you to add calendars by URL if they are specified in the iCal format. Since your ${app}/events is an Atom- formatted feed, you won't be able to import it directly into Google Calendar.

That said, Google Calendar does expose a JavaScript-based API which you can use within GME and other client-side applications. I have a demo that demonstrates this integration here:

http://demo-jsgdatalib.googlemashups.com/

If you want users to be able to add your events to their personal calendars, have them log in using Calendar's Data API and use GME's API to iterate through your feed and insert all entries as events in the appropriate calendar. Unfortunately, since events are being copied, they won't be dynamically updated as they would if you set up a shared calendar.

On Apr 15, 5:00 pm, empath <emp@gmail.com> wrote:

Is there a way to do this using the subscribe tag? I have a bunch of entries in ${app}/events with many of the same attributes that a gcal feed would have (gd:startdate, gd:where, atom:title, atom:content) -- is there an easy way to turn this into a gCal subscribe link? Or a hard way?

Thanks, -john