Hi people, I'm working with Calendar API and Zend_Gdata. I'm using AuthSub and all works :) Now I'm trying to make Quick Add feature, I think the better way is parse with "http://www.google.com/calendar/compose?ctext=" and then make the trivial post.
The compose url needs login, just like the feeds but I couldn't request that using AuthSub, somebody has any idea? Thanks a lot. // library http://torrez.us/archives/2006/04/18/433/ http://framework.zend.com/manual/en/zend.gdata.html http://www.google.com/support/calendar/bin/answer.py?answer=36604&topic=8599 // Feed code - that's works $client = Zend_Gdata_AuthSub::getHttpClient( $token ); $gdataCal = new Zend_Gdata_Calendar( $client ); $gdataCal->setVisibility('private'); $gdataCal->setProjection('full'); $eventFeed = $gdataCal->getCalendarFeed(); // Compose url test - doesn't work, need login $client = Zend_Gdata_AuthSub::getHttpClient( $token ); $gdataCal = new Zend_Gdata_Calendar( $client ); $gdataCal->setVisibility('private'); $gdataCal->setProjection('full'); $http = $gdataCal->getHttpClient(); $http->setUri( "http://www.google.com/calendar/compose?ctext=Do%20I %20have%20a%20doctor's%20appointment%20tomorrow%20at%206pm?" ); $response = $http->request(); echo $response->getBody(); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
