Retrieving and editing secondary calendars

4 views
Skip to first unread message

Frederik

unread,
Mar 13, 2008, 3:26:49 PM3/13/08
to Google Data API
Hi guys/girls

I'm pretty new to this API, so please bear with me.

I've tried to retrieve feeds to secondary calendars, but i really
can't figure it out.

I've followed this (see below) tutorial which, ofc, worked - but for
my primary calendar (fro...@gmail.com).

http://code.google.com/apis/calendar/developers_guide_java.html#CreatingSingle

I've tried to change to URL to the XML-feed URL's shown in settings
for the respective calendars (both public and private), but each time
I get an runtime error saying either that the feed is read-only or
that I haven't got permission to change the calendar.
This seems strange since I am using lightning with google provider
which both reads and writes to all my calendars without any errors
(which indicates that I should be able to write to them).

What do I have to do?
Where do I find the Urls for the secondary calendars?
I've followed this tutorial (see below), foreach trying
calendarEntry.getEditLink().getHref() or
calendarEntry.getSelfLink().getHref()

I'm sorry if this has already been posted. I've tried to search on the
list to see if this has already been answered, but I couldn't find
anything.

Thanks in advance
-Frederik *^_^*

Frederik

unread,
Mar 14, 2008, 6:16:27 AM3/14/08
to Google Data API
Hi again

I will answer my own question. I know it's not rocketscience, but I
perhaps someone other than me is stuck in the same place.

I'll refer to this thread:
http://groups.google.dk/group/google-help-dataapi/browse_thread/thread/f2358a8368b8bc7a/be9c7dfe302bb537?hl=da&lnk=gst&q=feed+url#be9c7dfe302bb537

Clue is, that the feed URL needs to be:
http://www.google.com/calendar/feeds/<calendar_id>/private/full
in order to be able to edit the calendar (inserting, deleting etc.)

As said before: it's not rocketscience, but if anyone needs help, feel
free to write me a mail and I'll try to explain it in more detail (it
took me like 2 days to figure this out / find the proper information).

Jeff Fisher (Google)

unread,
Mar 14, 2008, 1:09:44 PM3/14/08
to Google Data API
Hi Frederik,

Glad you were able to figure it out. If you get stuck on some other
calendar-related trouble, be sure to check out the Calendar API forum:

http://groups.google.com/group/google-calendar-help-dataapi

There is a friendly guy named Austin there who knows lots about the
Calendar API. :)

Cheers,
-Jeff

On Mar 14, 3:16 am, Frederik <fro...@gmail.com> wrote:
> Hi again
>
> I will answer my own question. I know it's not rocketscience, but I
> perhaps someone other than me is stuck in the same place.
>
> I'll refer to this thread:http://groups.google.dk/group/google-help-dataapi/browse_thread/threa...
Reply all
Reply to author
Forward
0 new messages