Does anyone have any experience with the iCalendar Gem.
I’m having trouble understanding how to make changes to my ics once
its been read in and I’ve found and the event I want to change.
#read events from ics file
ics_calendar_file = File.open(“mycalendar.ics”)
cals = Icalendar.parse(ics_calendar_file)
myICSArray = cals.first
#parse the vcal so that information can be updated
parsedVCAL = Icalendar.parse(my_vCal_string)
#modify the event in place
myICSArray.find_event(parsedVCal.uid) = parsedVCal
For some reason the above code didn’t work
Also does anyone know if the icalendar Gem can support all the
icalendar features. Basically I’d like to sync against some events
that are coming over as text. Even more specifically I’m trying to
sync a MS Exchange calendar with an ics file via IMAP. I can get
stuff to and from IMAP and have them show as proper events. Now I
need to know how to get stuff through to ICS. I’d prefer to us the
icalendar Gem so I can avoid some extra parsing logic, but Ican go
If any one can help that would be awesome. I’d be happy to post my
script once I get it running.