Thank you very much for your input. After I posted (albeit about 4
hours after), I found the Zend manual. Works great! :-D

I actually have another question, which seems pretty obvious but I
still am not sure how to do it.

How can I make events show up between re-occurring events that I have
set as singleevents? Here's my code:
---
$query->setOrderby('startTime');
$query->setStartmin($today);
$query->setStartmax('2007-08-01');
$query->setSingleevents('true');
$query->setSortorder('a');
---

Printing out all of my events between today and 01 August, it displays
my reoccurring event (which started before today) as separate events
(which is what I want) and then displays everything else on the
calendar. I would like it to display everything else when they occur.

:-) Cheers and thanks again!



On Jun 12, 2:10 am, Trevor Johns <[EMAIL PROTECTED]> wrote:
> On Jun 11, 10:10 am, The Squall <[EMAIL PROTECTED]> wrote:
>
> > Hello, I'm a new user to the Google API and I am trying to view my
> > calendar on my website using the PHP version of the API.
>
> > I have the Zend GData version 1.0.0 RC2 and am coming into a problem
> > with my coding. Here is what I have so far (I know, it's not much, but
> > it's still not working)
> [...snip...]
>
> > Any suggestions on what may be wrong? Any help would be GREATLY
> > appreciated. Thanks!
>
> The problem is that, beginning with Zend Framework 1.0, you need to
> use a query object when making requests. Since the 1.0 brach was just
> released, the documentation on code.google.com hasn't been updated
> yet. In the meantime, take a look at the manual on framework.zend.com:
>
>    http://framework.zend.com/manual/en/zend.gdata.html
>
> To answer your question more directly, try something like this:
>
> ...
> $gdataCal = new Zend_Gdata_Calendar($client);
> $query = $gdataCal->newEventQuery()
> $query->setUser('myprivateusername');
> $query->setVisibility('private-magiccookie');
> $query->setProjection('full');
> $eventFeed = $gdataCal->getCalendarFeed($query);
> ...
>
> Hope that helps!
>
> --
> Trevor Johnshttp://tjohns.net/


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