Hi Raj,

Due to the truncation of the URLs, I'm not sure what the exact URLs you
are using to POST the comments.

Posting to comment feeds should definitely work, so I'll give you an
overview of the process and an example-- hopefully that will get you
going :)

The comments feed will end up looking something like this:
http://www.google.com/calendar/feeds/default/private/full/9n239rsfjrpqqjafhjj83as35o/comments

This URL, for the comments feed, is available as a link in the event
entry.

Here's an example comment entry that I've posted successfully:

<?xml version='1.0' encoding='utf-8'?>
<entry xmlns='http://www.w3.org/2005/Atom'
xmlns:gd='http://schemas.google.com/g/2005'>
  <content type='html'>&lt;p&gt;test comment 2&lt;/p&gt;</content>
  <author>
    <name>Ryan Boyd</name>
    <email>[EMAIL PROTECTED]</email>
  </author>
</entry>

Does this information help you resolve the problem you're experiencing?

Thanks,

-Ryan



On Jan 10, 10:07 pm, "Raj" <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I am developing a C API for google calendar service which is almost
> complete.
>
> Issue is, I am unable to post comments, though I am able to retrieve
> existing comments.
>
> Example:
>
> Existing entry 
> id:http://www.google.com/calendar/feeds/default/private/full/9nklmjvt6l9...
>
> Posting comments to 
> url:http://www.google.com/calendar/feeds/default/private/full/9nklmjvt6l9...
>
> Post content:
> <?xml version="1.0" encoding="UTF-8"?><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><content
> type="text">Meet for a quick lesson.</content></entry>
>
> Post redirected 
> url:http://www.google.com/calendar/feeds/default/private/full/9nklmjvt6l9...
>
> (The above url is got after proper authentication is done)
>
> I believe posting a comment is similar to posting an entry (Difference
> in post url). Now posting of entry is working perfectly but when the
> same mechanism is used to post comment, 404 Not Found message is
> returned.


--~--~---------~--~----~------------~-------~--~----~
 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