You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An idea I discussed with @pietia – we enter schedule information into Lanyrd first, parse their .iCal files into our own Yaml format and display from there.
The text was updated successfully, but these errors were encountered:
# encoding: UTF-8require'bundler/setup'require'icalendar'Encoding::default_external=Encoding::UTF_8# Open a file or pass a string to the parsercal_file=File.open("schedule.ics")# Parser returns an array of calendars because a single file# can have multiple calendars.cals=Icalendar.parsecal_filecal=cals.firstcal.events.eachdo |e|
puts"- " << e.summaryputse.descriptionend
An idea I discussed with @pietia – we enter schedule information into Lanyrd first, parse their
.iCal
files into our own Yaml format and display from there.The text was updated successfully, but these errors were encountered: