I’d like to create a webcal link to share a calendar with iCal like
it’s done in Basecamp for example.
I know how to create the file using icalendar ruby library and iCal
can open it, but if I send this file using an url like webcal://
iCal says that data are not valid.
PS here is my rb code
cal = Icalendar::Calendar.new
event = cal.event # This automatically adds the event to the
event.user_id = “[email protected]”
event.timestamp = DateTime.now
event.summary = “Meeting with the man.”
# We can output the calendars as strings to write to a file, # network port, database etc. cal_string = cal.to_ical send_data cal_string