简体   繁体   English

应该使用哪种事件数据格式?

[英]Which event data format should use?

I have an application that (among other features) has an event calendar. 我有一个具有事件日历的应用程序(除其他功能外)。 Some users need to export and import event data to their own calendars. 一些用户需要将事件数据导出和导入到自己的日历中。 I've found the iCalendar format, but I don't know if that's the most suitable format for me. 我已经找到了iCalendar格式,但是我不知道这是否是最适合我的格式。

The format should be an extended format (as much as possible to reach the maximum number of users), particularly it must be a format that allows import/export of iPhone and Android calendars (the built in calendars). 该格式应为扩展格式(尽可能达到最大用户数),尤其是必须允许导入/导出iPhone和Android日历(内置日历)的格式。

The event data itself is very basic (name, description, start and length). 事件数据本身是非常基本的(名称,描述,开始和长度)。

Is there any format that fits these requirements? 是否有符合这些要求的格式? Is there any way to make an iPhone/Android phone to import/export events in the iCalendar format? 有什么方法可以使iPhone / Android手机以iCalendar格式导入/导出事件?

Yes iCalendar is the standard that you are looking for (for more information you can go to http://calconnect.org/ ) 是的,iCalendar是您要寻找的标准(有关更多信息,请访问http://calconnect.org/ )。

regarding exports: iCalendar is a standard that is based on apple calendar sor iPhone is compatible with icalendar and since this is the de-facto standard for calendaring so is Android compatible. 关于出口:iCalendar是基于苹果日历的标准,或者iPhone与icalendar兼容,并且由于这是日历的实际标准,因此与Android兼容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM