将iCal和Google日历按钮添加到页面 [英] add to iCal and google-calendar buttons to a page
问题描述
有些网页的添加到iCal
和添加到Google日历
按钮,当您点击时,它以某种方式将一个事件添加到您的日历,它会是iCal或谷歌日历。
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.
推荐答案
通常,这是一个简单的按钮,其中包含事件的 ics
文件。您可以在 iCalendar协议 文件构建您自己的 ics
/ a>或使用现有的库,例如,在.NET编程语言中, DDay .iCal 是一款了不起的工具。
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.
如果您只想用 Google日历按钮,Google有它自己的生成器:
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
这篇关于将iCal和Google日历按钮添加到页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!