I want make some calendar public for all (read only)

I can share calendar for some user
rule = gdata.calendar.CalendarAclEntry()
rule.scope = gdata.calendar.Scope(value='[EMAIL PROTECTED]',
scope_type='user')
roleValue = 'http://schemas.google.com/gCal/2005#%s' % ('read')
rule.role = gdata.calendar.Role(value=roleValue)
#aclUrl = '/calendar/feeds/[EMAIL PROTECTED]/acl/full'
aclUrl = '/calendar/feeds/' + calID +'/acl/full'
returned_rule = self.calendar_service.InsertAclEntry(rule, aclUrl)

if I use
rule.scope = gdata.calendar.Scope(scope_type='user')
 instead
rule.scope = gdata.calendar.Scope(value='[EMAIL PROTECTED]',
scope_type='user')
return error

Is a way make calendar public?

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