Page 1 of 1

How to write an .ics?

Posted: Mon Mar 12, 2007 9:13 am
by $var
i found that if you open an .ics in notepad, it displays exactly what i suspected, a bunch of perimeters that make up the calendar file:

Code: Select all

BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20070312T190000Z
DTEND:20070312T200000Z
LOCATION:Honeycomb Web Conference
TRANSP:OPAQUE
SEQUENCE:0
UID:040000008200E00074C5B7101A82E00800000000807661EA1246C7010000000000000000100
 00000E8F6D8611C85D54A951FD1FF84FB215D
DTSTAMP:200700312T220906Z
DESCRIPTION:Today\, Monday\, March 12th \n\niCal Test - Email Marketing Test:\n“Email Marketing Benchmarks: New 2007 Research on Effective
  Email Marketing
  Tactics”\nhttp://www.xtalks.com/downloads/marketing/email_webinar_0227
 07.ppt\n\n\n“Email Marketing Benchmarks: New 2007 Research on Effective
  Email Marketing Tactics”\n\nPresented by:\nAnne Holland\, Founder &
  President\, MarketingSherpa\nStefan Tornquist\, Research Director\,
  MarketingSherpa\nMikel Chertudi\, Director of Online Marketing\,
  Omniture\n\n
SUMMARY:Honeycomb Test Summary
PRIORITY:5
X-MICROSOFT-CDO-IMPORTANCE:1
CLASS:PUBLIC
BEGIN:VALARM
TRIGGER:-PT120M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR
however, it get a strange error message about switching it from lunar to gregorian? (sounds a little poetic for microsoft) ... i'm guessing that you can't just save an .ics for notepad. How do you write an iCal? and then, how do you dynamically write an iCal?

Posted: Mon Mar 12, 2007 9:22 am
by feyd

Posted: Mon Mar 12, 2007 3:12 pm
by timvw
tools like http://phpicalendar.net/documentation/i ... /Main_Page may come in handy too....