javascriptoutlookgoogle-apiicalendaryahoo-api

Add events to google calendar,yahoo calendar, outlook and ical


The users of my Javascript based site often need to create an event where they post an event name, event description, start time and the end time of the event along with the date. Now, they would like to add those event details to the their Google calendar or Yahoo calendar or iCal or Outlook, is their any standard library for that? I am trying to figure it out for the past 3 days though I am aware of google api's but I am not aware of iCal and Outlook or even Yahoo too. I am looking for something very similar this "http://compute2011.doattend.com/". In the right hand side you can see this "Add this to your site" part, I would like to do the same thing.

Please help me to get in hands on.


Solution

  • I've been searching for something similar tonight and found this jQuery plugin which seems that could help you out. You can directly generate .ics files "on the fly" with it which should be good for Google, Outlook, iCal and Yahoo.

    http://keith-wood.name/icalendar.html

    I haven't had a chance to test it myself though, but plan to do it in the next days. However HTH!