iCal 格式 - 存储事件创建者
我目前正在编写一个大致基于 iCalendar 标准的日程安排应用程序。 有谁知道我可以在哪个属性中存储活动创建者的信息? 通过浏览 iCalendar RFC 2445,我找到了这个属性:Organizer。 即使活动创建者是唯一参与活动的人,我是否可以将活动创建者的信息存储在酒店中? 或者已经有一个字段来存储事件创建者的信息???!
I am currently programming a scheduling application which loosely based on iCalendar standard. Does anyone knows in which property can I store the event creator's information? By browsing through the iCalendar RFC 2445, I find this property: Organizer. can I store the event creator's information in the property even if he/she is the only person involved in the event? or there is already a field to store the event creator's information???!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我正在研究一个类似的应用程序,涉及事件跟踪和处理,并得出与 Jeffrey04 相同的结论。
具体来说,为了表示警告或警报,使用 VJOURNAL 组件似乎是合适的,因为事件是过去的,并且可能持续到现在,但肯定不是会议。 VJOURNAL 也不占用日历上的空间。
恕我直言,代表发起者的最佳字段是 X-WR-RELCALID,它不是 RFC5545,但似乎符合创建者 UID 的想法。 我会将其链接到 vCard UID。
我不明白为什么事件创建者的想法对于 iCal 规范的编写者来说并不重要。
I am researching a similar application, concerned with event tracking and handling, and came to the same conclusions as Jeffrey04.
Specifically, to represent warning or alarm, it would seem appropriate to use the VJOURNAL component, as the event is in the past, and maybe continues through the present, but is certainly not a meeting. VJOURNAL also does not occupy space on the calendar.
IMHO the best field for representing the originator is X-WR-RELCALID, which is not RFC5545, but seems to fit the idea of a creator UID. I will link this to a vCard UID.
I cannot understand why the idea of an event creator was unimportant for the writers of iCal specs.
ORGANIZER;CN="Sally Example":mailto:[电子邮件受保护]
看起来像答案
ORGANIZER;CN="Sally Example":mailto:[email protected]
Looks like the answer
rfc2445
一致性中的一些注释:此属性必须在 iCalendar 对象中指定
指定组计划日历实体。 该属性必须
在 iCalendar 对象中指定,该对象指定发布
日历用户的忙碌时间。 此属性不得指定
仅指定时区定义的 iCalendar 对象或
定义不是组计划实体的日历实体,
但仅是单个用户日历上的实体。
Some notes from the rfc2445
Conformance: This property MUST be specified in an iCalendar object
that specifies a group scheduled calendar entity. This property MUST
be specified in an iCalendar object that specifies the publication of
a calendar user's busy time. This property MUST NOT be specified in
an iCalendar object that specifies only a time zone definition or
that defines calendar entities that are not group scheduled entities,
but are entities only on a single user's calendar.