Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

add to iCal and google-calendar buttons to a page

There are some webpages that have a add to iCal and add to Google Calendar buttons that when you click, it somehow adds an event to your calendar, would it be iCal or google Calendar.

I need to do that in a webpage, but can't seem to find the documentation about it.

like image 659
Jonathan Avatar asked Sep 02 '11 13:09

Jonathan


People also ask

Does Google Calendar integrate with iCal?

Google Calendar allows you to subscribe to one or more calendars via standard web links that are understood by Apple's iCal. Once a Google Calendar is synchronized with your desktop iCal application it can also be synchronized with your mobile device.


2 Answers

Normally it's a simple button with a ics file of the event. You can construct your own ics file following the iCalendar protocol or use an existing library, for example, in the .NET programming language, the DDay.iCal is a marvelous tool.

If you want just to manually generate a button with the Google Calendar button, Google has it's own generator for it:

http://www.google.com/googlecalendar/event_publisher_guide.html

like image 193
balexandre Avatar answered Oct 01 '22 12:10

balexandre


If you'd prefer to take the lazy route and use a pre-built solution, AddThisEvent may suit. http://addthisevent.com/

like image 28
Wireblue Avatar answered Oct 01 '22 12:10

Wireblue