I seem to be missing the boat, big-time, when trying to work with the Gdata
components. The documentation with ZF 0.6.0 unfortunately seems very
unfinished at the moment, and the codebase doesn't seem to be pointing me in
the right direction.

First, I created a Gdata client using my Google e-mail and password.
Secondly, I used that client object to create a Gdata calendar object. This
all seems to work, as I do not get any errors and my objects are instances
of what I was expecting therm to be. However, at this point I am unclear on
how I can then use the calendar object to view my calendar. I've tried using
the getEvent method, but nothing is returned; I have one event that I
created for tomorrow at 10 a.m. as a test.

The code I am using is very simple and minimal -- which may be the problem
itself, however I have no way of knowing.

       $client = Zend_Gdata_ClientLogin::getHttpClient('my email', 'my
password', 'cl');

       $cal = new Zend_Gdata_Calendar($client);

I got this far by following the example located at:
http://framework.zend.com/wiki/display/ZFDOCDEV/9.2.+Authenticating+with+ClientLogin.
This seems work correctly, as the $client and $cal objects are
instances
of their respective classes. I've tried using getCalendarListFeed and
getEvent, however nothing is jumping out at me as to what to do at all. If I
try using getCalendarFeed I get an exception with the error of, "Feed failed
to load, got response code 500."

Where do I go from here? Is there more documentation that I can read that
will help me use this API? FWIW, I totally understand the fledgling nature
of ZF right now, and I know that everything about ZF is a work in progress.
Any and all help and/or suggestions will be greatly appreciated. :)

--
It looked like something resembling white marble, which was
probably what it was: something resembling white marble.
               -- Douglas Adams, "The Hitchhikers Guide to the Galaxy"

Reply via email to