Hi,
I'm having trouble making a calendar public using the API.
I found out in this group that someboby can do this in php or
javascript, but I'm using ruby as programming language and
unfortunately my client library does not support this functionality,
so I'm trying to do this with http and gdata.
I'm sending an authenticated http post to this url:

http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/acl/full

(where [EMAIL PROTECTED] is the ID
of my private secondary calendar) whith the following entry in the
body of the post:

<entry xmlns='http://www.w3.org/2005/Atom' xmlns:gAcl='http://
schemas.google.com/acl/2007'>
        <category scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/acl/2007#accessRule'/>
        <gAcl:scope type='default'></gAcl:scope>
        <gAcl:role value='http://schemas.google.com/gCal/2005#read'></
gAcl:role>
</entry>

The server responds whith an Net::HTTPOK with a feed containing only
one entry:

<entry>
        <id>http://www.google.com/calendar/feeds/
rg4odif2uf1e19fjpphi28rglg%40group.calendar.google.com/acl/full/user
%3Aunife2002%40gmail.com</id>
  [...]
            <gAcl:scope type='user' value='[EMAIL PROTECTED]'/>
            <gAcl:role value='http://schemas.google.com/gCal/
2005#owner'/>
</entry>

It looks like my POST doesn't have any effect.
What I'm I doing wrong?
Where can I find some documentation to make a calendar public through
the API?

Thanks for any help
Skin79
--~--~---------~--~----~------------~-------~--~----~
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