有一些网页有 add to iCal 和 add to Google Calendar 按钮,当你点击它时,它会以某种方式为你的日历添加一个事件,它是iCal还是谷歌日历 .
add to iCal
add to Google Calendar
我需要在网页中执行此操作,但似乎无法找到有关它的文档 .
通常它是一个简单的按钮,带有事件的 ics 文件 . 您可以在iCalendar protocol之后构建自己的 ics 文件或使用现有库,例如,在.NET编程语言中, DDay.iCal 是一个了不起的工具 .
ics
如果您只想手动生成一个带有 Google Calendar button 的按钮,Google就拥有它自己的生成器:
http://www.google.com/googlecalendar/event_publisher_guide.html
如果您更喜欢采用惰性路线并使用预先构建的解决方案,AddThisEvent可能适合 . http://addthisevent.com/
2 回答
通常它是一个简单的按钮,带有事件的
ics
文件 . 您可以在iCalendar protocol之后构建自己的ics
文件或使用现有库,例如,在.NET编程语言中, DDay.iCal 是一个了不起的工具 .如果您只想手动生成一个带有 Google Calendar button 的按钮,Google就拥有它自己的生成器:
如果您更喜欢采用惰性路线并使用预先构建的解决方案,AddThisEvent可能适合 . http://addthisevent.com/