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.
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
If you'd prefer to take the lazy route and use a pre-built solution, AddThisEvent may suit. http://addthisevent.com/
精彩评论