On Sun, Apr 01, 2007 at 01:18:43AM -0000, Ryan Boyd (Google) said:
> I'm actually in the process of writing up some knowledge base articles
> which likely address the issue you're having.  My guess is that you're
> trying to retrive this feed through a web browser.

Nope, this is through the Perl API with the events being fetched from

http://www.google.com/calendar/feeds/<email>/private-<key>/full

What I want to be able to do is 

   my $cal = Net::Google::Calendar->new($url, $user, $pass);
   foreach my $entry ($cal->entries) {
      $cal->delete($entry);
   }

But, at the moment this isn't possible. I can, however do


   my $entry = makenewEntry();
   $cal->add($entry);
   $cal->delete($entry);

because when the entry is added we receive back the update Google 
generated XML and then the API updates the $entry variable with this new 
information which contains an editURI.

So how do I get a non read-only feed? Is this only available through the 
AuthSub method?

Ahhhhhhhhhhh - I've just seen 

http://code.google.com/apis/calendar/reference.html#Visibility

So basically if a user gives me a url with private-<key> in but then 
successfully logs in or auths I should then strip out that key?

>From testing that seems to work.

Cheers.

Simon

p.s Any chance that the Perl API could be added to 

http://code.google.com/apis/gdata/clientlibs.html

or is it too Calendar specific at the moment?


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