Hi Ray

That's exactly what I'm using mate, the googlecalendar gem.

I did have a hell of a time figuring out what format to use for that
string, but in the end Benjamin helped me out and it's only the
<title> value that I use.

That works fine as it is without editing post_event though Ray. I've
written an app that grabs a logged in users calendars, than spits out
the Title and ID into a select section of a form, and then the user
can select which of their calendars to post a new event to.

No editing of the post_event method was required to do that, just a
bit of help from benjamin on the format of the variable to pass to
new_event(event, THISVAIRABLE)

I haven't gone further than very basic with testing so they may well
be problems down the line.

I've been using ClientLogin to test so far, now I'm starting to look
at AuthSub, any tips Ray?

Have you done AuthSub?

On Apr 22, 10:14 am, "Ray Baxter" <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 22, 2008 at 12:28 AM, vanderkerkoff <[EMAIL PROTECTED]> wrote:
>
> > In the feed of your calendars that you get back from google, are you
> > saying that you managed to enter events into a calendar when you used
> > the <id> node value?
>
> No. I inserted an event into a calendar using the path I gave you below,
> /calendar/feeds/CALENDAR_ID/private/full where CALENDAR_ID is the either the
> calendar ID obtained from either the UI, or from the userid part of the url
> in the <id>. It looks like an email address. Here's an example:
> [EMAIL PROTECTED],
>
> > I got it working with the <title> node value.  I couldn't get it
> > working with the <id> though, I think we're probably using different
> > libraries and languages so it would all depend on that.
>
> I'm currently using Ruby code to do this. If you are using the code from
> googlecalendar gem, the new_event method doesn't work like the methods in
> the Google apis for inserting events, which all accept or require a
> parameter for the post url. The ruby googlecalendar method accepts a second
> optional calendar parameter, but it passes calendar to the post_event
> method, which assumes that you are passing the calendar's title, not a url
> or a GCalendar object. If you want to use that gem, you'll need to modify
> post_event to accept urls.
>
> Ray
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to