如何从网页向 iCal/Outlook/gmail 添加事件? [英] How to add event to iCal / Outlook / gmail from webpage?
问题描述
包含下载 .ics/.iCal 文件的链接?通过电子邮件附加 .ics 文件?
include a link to download an .ics / .iCal file? attach .ics file through email?
如何构造文件?在哪里可以找到规范?
How to construct the file? Where to find the spec?
在页面上呈现 hCalendar 中的数据有什么好处?所以搜索引擎可以以某种方式索引它?
What're the benefits of rendering the data in hCalendar on the page? So search engine can index it somehow?
谢谢
推荐答案
您在 Google 上的问题的第一部分似乎有很多点击.还可以尝试 CFLIB.org 搜索,您可以看到该函数如何创建文本字符串http://www.google.co.uk/search?q=iCal+and+ColdFusion
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
要下载,请使用 CFCONTENT 将字符串写入浏览器.要附加到电子邮件,请将字符串写入临时文件,然后您可以使用 CFMAILPARAM 附加它.这是几种方式.
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.
这篇关于如何从网页向 iCal/Outlook/gmail 添加事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!