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.
When you create an event, check which calendar it's being added to. If it isn't being added to the Events calendar, you may not see it in the Google Calendar app or at calendar.google.com. , make sure it says Event. If you don't see Event, tap the Event Calendar icon to switch to the correct calendar.
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With