maybe you need to add the DURATION rule:
"DTSTART:2011-06-01T13:30:00\r\nDURATION:PT60M\r\n"
+ "DTEND:2011-06-01T14:30:00\r\n"
+ "RRULE:FREQ=DAILY";
In php i use this code to generate all my recurrence rules:
$when=
($tags?"<gd:recurrence>":"")."DTSTART;TZID=".date("e:Ymd",strtotime($this-
>starttime))."T".date("His",strtotime($this->starttime))."
DURATION:PT".(strtotime($this->endtime)-strtotime($this-
>starttime))."S
RRULE:FREQ=".$this->frecuencia.";INTERVAL=".$this->frecuencia_paso."".
($this-
>frecuencia_fin_tipo===IDEA_GCALENDAR_EVENT_FRECUENCIA_FINTIPO_REPETICIONES?
";COUNT=".$this->frecuencia_fin
:
"").
($this-
>frecuencia_fin_tipo===IDEA_GCALENDAR_EVENT_FRECUENCIA_FINTIPO_FECHA?
";UNTIL=".$this->frecuencia_fin
:
"")."".($this->frecuencia_dias?";BYDAY=".$this-
>frecuencia_dias:"")."
DTEND;TZID=".date("e:Ymd",strtotime($this-
>endtime))."T".date("His",strtotime($this->endtime))."
".($tags?"</gd:recurrence>":"");
you can see the ical specification reference:
http://www.ietf.org/rfc/rfc2445.txt
--
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://code.google.com/apis/calendar/community/forum.html