Friends Well, sorry for reviving this thread, but I only spotted it now. :-)
Using 'gcal_add_xmlentry' does work fine here, as you can see (I used the sample XML available in official google calendar protocol documentation, only updating the start/end dates for this month): /*******************************************************************/ [EMAIL PROTECTED]:~/oldhome/temp/examples/xml$ ./add_event question.xml event: <entry xmlns="http://www.w3.org/2005/Atom" xmlns:gd="http:// schemas.google.com/g/2005" > <id>http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/full/ entryID</id> <published>2006-03-30T22:00:00.000Z</published> <updated>2006-03-28T05:47:31.000Z</updated> <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event'></category> <title type='text'>Lunch with Darcy</title> <content type='text'>Lunch to discuss future plans.</content> <link rel='alternate' type='text/html' href='http://www.google.com/calendar/event? eid=aTJxcnNqbW9tcTJnaTE5cnMybmEwaW04bXMgbWFyY2guam9AZ21haWwuY29t' title='alternate'></link> <link rel='self' type='application/atom+xml' href='http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/ full/entryID'></link> <link rel='edit' type='application/atom+xml' href='http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/ full/entryID/version' /> <gd:when startTime='2008-10-30T22:00:00.000Z' endTime='2008-10-30T23:00:00.000Z'> <gd:reminder minutes='30' method='email' /> <gd:reminder minutes='10' method='alert' /> </gd:when> </entry> nice! Sucess! Status is: 201 msg: (null) /*******************************************************************/ And listing the events, I get: /*******************************************************************/ [EMAIL PROTECTED]:/media/secure3/utils_gcal$ ./lister HTTP status = 200 event: 0 title:Lunch with Darcy updated: 2008-10-11T05:32:15.000Z start:2008-10-30T20:00:00.000-02:00 event: 1 title:Changing the title updated: 2008-08-19T21:54:18.000Zstart:2008-06-24T13:00:00.000-03:00 event: 2 title:test of timezone updated: 2008-07-30T20:39:39.000Z start: /*******************************************************************/ I did a try with your sample XML and it failed with HTTP 400, meaning that you will have to spot where in your data is the bug... ;-) And just as Austin said, libgcal is third-party-opensource-lone-cowboy project, but feel free to contact us anytime that you need some help (I may take some days to answer... but I think you got the idea). Best regards Adenilson On Oct 1, 6:35 pm, Maverick <[EMAIL PROTECTED]> wrote: > hi, > > i would like to know how to setup an entry with reminders using > libgcal... is it possible? > > I've seen any method in the code to accomplish this, only seen start > and end properties, no reminder :( > > i've tried to load the xml, with the gcal_add_xmlentry functions, > doesn't give me any error, but the entry doesn't apear in the calendar > either. > > this is the xml i tried to load using the above function : > > <entry xmlns='http://www.w3.org/2005/Atom' > xmlns:gd='http://schemas.google.com/g/2005'> > <category scheme='http://schemas.google.com/g/2005#kind' > term='http://schemas.google.com/g/2005#event'></category> > <title type='text'>TEST</title> > <content type='text'>My content.</content> > <gd:transparency > value='http://schemas.google.com/g/2005#event.opaque'> > </gd:transparency> > <gd:eventStatus > value='http://schemas.google.com/g/2005#event.confirmed'> > </gd:eventStatus> > <gd:where valueString='Rolling Lawn Courts'></gd:where> > <gd:when startTime='2008-10-01T19:00:00.000Z' > endTime='2009-10-01T20:00:00.000Z'> > <gd:reminder minutes='1' method='email' /> > <gd:reminder minutes='2' method='alert' /> > </gd:when> > </entry> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
