I am trying to use the "quick add" feature for Google Calendar to parse an English description of the event.
I am writing the code in Ruby, so I do not have access to this function in the API. This is the message to send the event (which apparently has the problem). <entry xmlns:gd='http://schemas.google.com/g/2005' xmlns='http:// www.w3.org/2005/Atom'> <category term='http://schemas.google.com/g/2005#event' scheme='http://schemas.google.com/g/2005#kind'/> <content type='text'>lunch with joe on friday</content> <quickadd xmlns:gCal='http://schemas.google.com/gCal/2005' value='true'/> <gd:transparency value='http://schemas.google.com/g/ 2005#event.opaque'/> <gd:eventStatus value='http://schemas.google.com/g/ 2005#event.confirmed'/> </entry> As a result, it creates the event, but does not use the quick add feature (the <quickadd> xml must be wrong). See the result: <?xml version='1.0' encoding='UTF-8'?> <entry xmlns='http://www.w3.org/2005/Atom' xmlns:gd='http:// schemas.google.com/g/2005' xmlns:gCal='http://schemas.google.com/gCal/ 2005'> <id>http://www.google.com/calendar/feeds/[removed]</id> <published>2007-06-05T16:04:57.000Z</published> <updated>2007-06-05T16:04:57.000Z</updated> <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event'></category> <category scheme='http://schemas.google.com/g/2005' term='http:// schemas.google.com/g/2005#event'></category> <title type='text'></title> <content type='text'>lunch with joe on friday</content> <link rel='alternate' type='text/html' href='http://www.google.com/ calendar/event? eid=ZW5wZjltY3Jza2dsOGdnNDhybDZlNzkxM3MgZHVzdGluQG1lZGlhLm1pdC5lZHU' title='alternate'></link> <link rel='self' type='application/atom+xml' href='http:// www.google.com/calendar/feeds/[removed]'></link> <link rel='edit' type='application/atom+xml' href='http:// www.google.com/calendar/feeds/[removed]'></link> <author> <name>Dustin Smith</name> <email>[EMAIL PROTECTED]</email> </author> <gd:comments> <gd:feedLink href='http://www.google.com/calendar/feeds/ [removed]'></gd:feedLink> </gd:comments> <gd:eventStatus value='http://schemas.google.com/g/ 2005#event.confirmed'></gd:eventStatus> <gd:visibility value='http://schemas.google.com/g/ 2005#event.default'></gd:visibility> <gd:transparency value='http://schemas.google.com/g/ 2005#event.opaque'></gd:transparency> <gCal:sendEventNotifications value='false'></ gCal:sendEventNotifications> <gd:when startTime='2007-06-05T12:04:57.000-04:00' endTime='2007-06-05T12:04:57.000-04:00'></gd:when> <gd:where></gd:where> </entry> Does anyone know the quick add flag for the XML post? Thanks very much, Dustin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
