开发者

add to iCal and google-calendar buttons to a page

开发者 https://www.devze.com 2023-04-01 08:24 出处:网络
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.

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/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号