My current site build involves an events calendar powered by jQuery, Google Calendar and Kirby articles filed into an events section. Theses all get plotted nicely on a visual calendar on the page that can flicked through, a bit like a Datepicker. Clicking on the events either takes you off to the event page within the Kirby site or opens a new tab with the google event in it. This is all working great except for one thing…
Along side the calendar is a chronological list of upcoming events grouped under month headings. This working great for the Kirby articles but i really need to get the Google Calendar events listed as well. This is where i’m lost. I think it means reading JSON from Googles API or doing some funky stuff to the Calendars .ICS feed that is meant to be read by programs like iCal or Microsoft office.
I know that Kirby can output data in JSON but how do i read/manipulte it? Has anybody done this before?
Any advice gratefully received.