Hi,

I'm writing an app in Flash which reads a google calendar feed. I have
two arrays - one for gd:[EMAIL PROTECTED] and one for entry/title. I then
push these values into a master array - eventsArray.

My problem is that not all entries have a <gd:when> node as they are
recurring events e.g birthdays. My master array therefore has more
titles than dates.

Can anyone suggest a nice clean way of getting the recurring dates in
my first array? The recurring event data is formatted as follows:

<gd:recurrence>
DTSTART;VALUE=DATE:20070318
DTEND;VALUE=DATE:20070319
RRULE:FREQ=YEARLY;WKST=MO
BEGIN:VTIMEZONE
TZID:Europe/London
X-LIC-LOCATION:Europe/London
BEGIN:DAYLIGHT
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
TZNAME:BST
DTSTART:19700329T010000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0100
TZOFFSETTO:+0000
TZNAME:GMT
DTSTART:19701025T020000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
</gd:recurrence>

I guess I can use substring to extract the date, push the values into
my time array and then ensure both arrays are ordered by time/date?

many thanks for any replies.

lukemack.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google 
Data API" group.
To post to this group, send email to google-help-dataapi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to