Hi Paul, When you add an event, the post method will return the server's response. You can parse the response and get the event ID like this:
$response = $gdataCal->post($newEntry->saveXML()); $body = $response->getBody(); $entry = new Zend_Feed_EntryAtom(null, $body); $id = $entry->id; If you have further questions about using the Zend Framework classes for GData, you could also try mailing the Zend Framework discussion list for the Google data components (http://www.nabble.com/Zend-gdata- f16698.html). More info is on the Zend site at http://framework.zend.com. Hope that helps, Lane On Apr 13, 1:54 pm, "pshippy" <[EMAIL PROTECTED]> wrote: > How do I get the ID of an event I've just added programatically? I'm > using the Zend framework with PHP, but any clue would be appreciated. > > Thanks, > Paul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
