Your comment xml should look like the example here: http://code.google.com/apis/gdata/elements.html#gdComments
Ray On Wed, Jan 28, 2009 at 3:39 AM, talby101 <[email protected]> wrote: > > Hi there I am trying to post a comment to my event using the data api > but failing with a HTTP 500 error - Error adding comment. I really > wish i could RTFM but the docs are pretty scant on this one (if not > please notify)... > > (All i could find doc wise : > ttp://code.google.com/support/bin/answer.py?answer=64265&topic=10365 > ) > > Here is my post: > > <atom:entry xmlns:atom='http://www.w3.org/2005/Atom' > xmlns:gd='http://schemas.google.com/g/2005' > xmlns:gCal='http://schemas.google.com/gCal/ > 2005' > xmlns:gAcl='http://schemas.google.com/acl/ > 2007' > xmlns:batch='http://schemas.google.com/gdata/ > batch'> > <atom:category scheme='http://schemas.google.com/g/2005#kind' > term='http://schemas.google.com/g/2005#message' /> > <atom:content type='text'>some text</atom:content> > <atom:author> > <atom:name>some name</atom:name> > <atom:email>some email</atom:email> > </atom:author> > </atom:entry> > > Can anyone see anything wrong with that ? My content type is > application/atom+xml and method is POST. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
