Google Calendar - Display recurring events such as regular events

I am trying to show a list of the next 20 days of events from a Google calendar account. Frantically repeating events are not shown (I suppose because their start time is old) ... So. Any ideas?

require_once dirname(__FILE__).'/../../../Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata');
Zend_Loader::loadClass('Zend_Gdata_HttpClient');
Zend_Loader::loadClass('Zend_Gdata_Calendar');

$service = new Zend_Gdata_Calendar();

$query = $service->newEventQuery();
$query->setUser('REMOVED');
$query->setVisibility('public');
$query->setProjection('full');
$query->setOrderby('starttime');
$query->setSortOrder('ascending');
$query->setFutureevents('true');
$query->setMaxResults(20); 

try { $eventFeed = $service->getCalendarEventFeed($query); }
catch (Zend_Gdata_App_Exception $e) { return; }

I am ready to accept any alternative methods that receive all my public events in ascending order. I tried RSS, but the dates show that they have been added to the calendar.

+5
source share
2 answers

- , . ( ). .

$query->setParam('singleevents','true');

:

singleevents

, .

: true (expand ) ( , ). - false.

-, false , hey-ho. !

+6

:

$query->setProjection('full');

:

$query->setProjection('composite');

, . API Google: http://code.google.com/apis/calendar/docs/2.0/reference.html

+1