Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

archi penko

macrumors regular
Original poster
Nov 6, 2007
174
210
so i want to create a code/script (??) that adds an event to ical (with click of a button), from a website.

i'm not looking to create a whole calendar... just to add an event if the user decides that they would like to go to it, they can save info automatically in ical.

so all the info i have is the ical calendar format:
EGIN:VCALENDAR
CALSCALE:GREGORIAN
X-WR-TIMEZONE;VALUE=TEXT:US/Pacific
METHOD:pUBLISH
PRODID:-//Apple Computer\, Inc//iCal 1.0//EN
X-WR-CALNAME;VALUE=TEXT:Example
VERSION:2.0
BEGIN:VEVENT
SEQUENCE:5
DTSTART;TZID=US/Pacific:20021028T140000
DTSTAMP:20021028T011706Z
SUMMARY:Coffee with Jason
UID:EC9439B1-FF65-11D6-9973-003065F99D04
DTEND;TZID=US/Pacific:20021028T150000
BEGIN:VALARM
TRIGGER;VALUE=DURATION:p1D
ACTION:DISPLAY
DESCRIPTION:Event reminder
END:VALARM
END:VEVENT
END:VCALENDAR

any one can point me from here?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.