On Tue, Aug 25, 2009 at 11:59 AM, stevescotthome<[email protected]> wrote:
>
> How do I get the Recurrence Value to be parsable by iCal
>
> 1.  The event is incomplete.  It's missing the BEGIN:VEVENT and
> END:VEVENT tag
> 2.  The VTIMEZONE is "embedded" within the event information, which is
> not legal in the iCalendar standard.  This makes handling this text
> much harder.
>
>
> DTSTART;TZID=America/Toronto:20090123T081500
> DTEND;TZID=America/Toronto:20090123T120000
> RRULE:FREQ=WEEKLY;BYDAY=FR;WKST=SU
> BEGIN:VTIMEZONE
> TZID:America/Toronto
> X-LIC-LOCATION:America/Toronto
> BEGIN:DAYLIGHT
> TZOFFSETFROM:-0500
> TZOFFSETTO:-0400
> TZNAME:EDT
> DTSTART:19700308T020000
> RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
> END:DAYLIGHT
> BEGIN:STANDARD
> TZOFFSETFROM:-0400
> TZOFFSETTO:-0500
> TZNAME:EST
> DTSTART:19701101T020000
> RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
> END:STANDARD
> END:VTIMEZONE

Well at the very least:

The first three lines need to be wrapped between
BEGIN:VEVENT/END:VEVENT lines then

the whole thing needs to be put between BEGIN:VCALENDAR/END:VCALENDAR lines

And I'm guessing that there's more stuff missing from the event itself
like a SUMMARY attribute (which gives the event title).

It also might need a UID attribute to be acceptable to google, not
sure about that though.

-- 
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

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