Is there a javascript calendar that takes an ical link as input to display events?

mikepinch picture mikepinch · Jan 12, 2011 · Viewed 16k times · Source

I am looking for a javascript based calendar that will allow me to specify a remote ical file to use as the source for the events.

I know google will allow you to import the ical then view the calendar via js or iframe, but I need to keep this agnostic to individual user accounts of any time.

Any suggestions?

Thanks

Answer

Riley Dutton picture Riley Dutton · Jan 12, 2011

If you have access to an "in between", you could probably do something with this (or a similar class in the language of your choice):

http://www.phpclasses.org/package/3278-PHP-Parse-and-extract-event-information-from-iCalendar.html

and jQuery Week Calendar, which is great:

https://github.com/robmonie/jquery-week-calendar

You would basically just convert the iCal format to JSON on the fly in a PHP script.