How to add event to iCal / Outlook / gmail from webpage?

喜夏-厌秋 提交于 2019-12-20 04:11:52

问题


include a link to download an .ics / .iCal file? attach .ics file through email?

How to construct the file? Where to find the spec?

What're the benefits of rendering the data in hCalendar on the page? So search engine can index it somehow?

Thanks


回答1:


There seems to be plenty of hits for the first part of your question on Google. Also try CFLIB.org search and you can see how the function creates the text string http://www.google.co.uk/search?q=iCal+and+ColdFusion

To download, write out the string to the browser using CFCONTENT. To attach to an email, write out the string to a temporary file and you can use CFMAILPARAM to attach it. Those are a couple of ways.



来源:https://stackoverflow.com/questions/2946151/how-to-add-event-to-ical-outlook-gmail-from-webpage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!