iCal Format - Organizer Property

痞子三分冷 提交于 2019-12-12 12:18:07

问题


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???!


回答1:


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.




回答2:


ORGANIZER;CN="Sally Example":mailto:sally@example.com

Looks like the answer




回答3:


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.



来源:https://stackoverflow.com/questions/80101/ical-format-organizer-property

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!