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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 06:26:34  来源:igfitidea点击:

How do I create an iCal-type .ics file that can be downloaded by other users?

macoscalendaricalendar

提问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 VEVENTsections (each of which represents an event) and VTIMEZONEsections, 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:

简单地使用这个伟大的免费在线工具:

https://pratie.tomodea.dev/lab/icalendar/default.asp

https://pratie.tomodea.dev/lab/icalendar/default.asp

回答by TacoBurrito

There is also this tool you can use. It supports multi-events .ics file creation. It also supports timezone as well.

您也可以使用此工具。它支持多事件 .ics 文件创建。它还支持时区。

http://apps.marudot.com/ical/

http://apps.marudot.com/ical/