Hi Raj,
Inside the entry returned by the full projection, you should find a
gd:comments entry, with a gd:feedLink such as:
<gd:comments>
<gd:feedLink
href='...calendar/feeds/default/private/full/rdisk58u10h9aie0uan3943seo/comments'>
</gd:feedLink>
</gd:comments>
(I tried placing an ellipses to prevent truncation-- the ellipses
replaces http://www.google.com/)
If you retrieve that feed, you should get a <link> element which points
to the post location, such as:
<link rel='http://schemas.google.com/g/2005#post'
type='application/atom+xml'
href='...calendar/feeds/default/private/full/rdisk58u10h9aie0uan3943seo/comments'>
</link>
This is the URL which you want to use when posting a new comment.
In the case of your event, the URL to use is most likely:
*../calendar/feeds/default/private/full/9nklmjvt6l9q4f1kg6seje3krk/comments*
Hope this helps!
Cheers,
-Ryan
On Jan 12, 2:45 am, "Raj" <[EMAIL PROTECTED]> wrote:
Hi Ryan,
Thanks for your prompt reply. Since the URL's have been truncated, i am
posting my query again.
Thanks Ryan for your prompt reply.
But due to truncation of URL in the reply i am nt sure of what URL i
have to use to post comments.
However this is how i am carrrying out the operation.
This is the id of the event that i want to post comments to
*../calendar/feeds/default/private/full/9nklmjvt6l9q4f1kg6seje3krk*
So do i send a POST request to this id? If i do so, the return value is
HTTP 400.
So i have tried posting comments to the edit URL of this id which is
/calendar/feeds/default/private/full/9nklmjvt6l9q4f1kg6seje3krk/63304103255
But when i post to this URL, it returns the same error i.e., HTTP 400.
Here is a copy of the XML file i am trying to post
<entry xmlns='http://www.w3.org/2005/Atom'
xmlns:gd='http://schemas.google.com/g/2005'>
<content type='html'><p>Testing comments for the
feed</p></content><author><name>rajani</name></author></entry>
Thanks
Raj
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---