I am using Fullcalendar to display an event feed and need to implement an iCalendar export feature. If I have the calendar events as an array of json events, is there a way to convert this json array to either: (1) a .ics file or
(2) a .xml file in xcal format?