macos 如何创建可供其他用户下载的 iCal 类型的 .ics 文件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1490634/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I create an iCal-type .ics file that can be downloaded by other users?
提问by
I want to create an iCal Calendar that can be downloaded from my website to the users Calendar program or imported to Google Calendar. What I want to know is if I do a direct Export from iCal on Mac OS X is that the file that I upload to my server? Any catches or caveats I should be aware of? Or is there a better way?
我想创建一个 iCal 日历,可以从我的网站下载到用户日历程序或导入到谷歌日历。我想知道的是,如果我在 Mac OS X 上从 iCal 直接导出是我上传到我的服务器的文件吗?我应该注意的任何问题或警告?或者,还有更好的方法?
回答by s4y
That will work just fine. You can export an entire calendar with File
> Export…
, or individual events by dragging them to the Finder.
那会工作得很好。您可以使用File
>导出整个日历Export…
,或通过将单个事件拖到 Finder来导出它们。
iCalendar (.ics
) files are human-readable, so you can always pop it open in a text editor to make sure no private events made it in there. They consist of nested sections with start with BEGIN:
and end with END:
. You'll mostly find VEVENT
sections (each of which represents an event) and VTIMEZONE
sections, each of which represents a time zone that's referenced from one or more events.
iCalendar ( .ics
) 文件是人类可读的,因此您始终可以在文本编辑器中将其打开,以确保没有私人事件在那里发生。它们由以 开头BEGIN:
和结尾的嵌套部分组成END:
。您将主要找到VEVENT
部分(每个部分代表一个事件)和VTIMEZONE
部分,每个部分代表一个或多个事件引用的时区。
回答by Ma9ic
Simple use this great free online tool:
简单地使用这个伟大的免费在线工具:
回答by TacoBurrito
There is also this tool you can use. It supports multi-events .ics file creation. It also supports timezone as well.
您也可以使用此工具。它支持多事件 .ics 文件创建。它还支持时区。
回答by Housen
I find the following link quite useful
我发现以下链接非常有用
http://blog.hubspot.com/marketing/calendar-invites-ical-outlook-google
http://blog.hubspot.com/marketing/calendar-invites-ical-outlook-google