有没有办法让我使用iCalendar导入从日历中删除项目?
我知道有一个方法:CANCEL,但是当我尝试它时,它对日历事件没有任何作用.
这是我的iCalendar文件中的内容.当我尝试将其导入Outlook时,它只是添加这些事件.
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//DDay.iCal//NONSGML ddaysoftware.com//EN METHOD:CANCEL BEGIN:VEVENT CREATED:20081210T155315Z DESCRIPTION: DTEND:20081213T093000 DTSTAMP:20081210T155315Z DTSTART:20081213T093000 LOCATION: ORGANIZER:MAILTO:user@domain.com SEQUENCE:1 SUMMARY:From FCS 13th UID:20367b86-2123-4930-87ef-5c2a6626bd9f BEGIN:VALARM ACTION:DISPLAY SUMMARY: Event 13th TRIGGER:-PT30M END:VALARM END:VEVENT BEGIN:VEVENT CREATED:20081210T155315Z DESCRIPTION: DTEND:20081211T093000 DTSTAMP:20081210T155315Z DTSTART:20081211T093000 LOCATION:7 West ORGANIZER:MAILTO:user@domain.com SEQUENCE:1 SUMMARY:Event 11th UID:f212ab15-86c3-46c8-8592-af0716a40ea2 BEGIN:VALARM ACTION:DISPLAY SUMMARY:Event on 11th TRIGGER:-PT30M END:VALARM END:VEVENT END:VCALENDAR
dev.e.loper.. 13
我忘了添加 STATUS:CANCELLED
现在这应该根据http://en.wikipedia.org/wiki/ICalendar#Events_.28VEVENT.29取消项目
这适用于Google日历,但不适用于Outlook 2003.Outlook仍会创建重复的条目.
以下是"STATUS:CANCELED"修改的"取消"事件.(英文拼写有两张L's)
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//DDay.iCal//NONSGML ddaysoftware.com//EN X-WR-RELCALID:928C8448-048A-4aa2-BE27-A920773AF3DC METHOD:CANCEL BEGIN:VEVENT CREATED:20081210T210344Z DESCRIPTION: DTEND:20081213T093000 DTSTAMP:20081210T210344Z DTSTART:20081213T093000 LOCATION: ORGANIZER:MAILTO:user@domain.com SEQUENCE:1 STATUS:CANCELLED SUMMARY:Event to export 1 UID:20367b86-2123-4930-87ef-5c2a6626bd9f BEGIN:VALARM ACTION:DISPLAY SUMMARY:Event to export 1 TRIGGER:-PT30M END:VALARM END:VEVENT BEGIN:VEVENT CREATED:20081210T210344Z DESCRIPTION: DTEND:20081211T093000 DTSTAMP:20081210T210344Z DTSTART:20081211T093000 LOCATION:7 West ORGANIZER:MAILTO:user@domain.com SEQUENCE:1 STATUS:CANCELLED SUMMARY:Event to export 2 UID:f212ab15-86c3-46c8-8592-af0716a40ea2 BEGIN:VALARM ACTION:DISPLAY SUMMARY:Event to export 2 TRIGGER:-PT30M END:VALARM END:VEVENT END:VCALENDAR
小智.. 7
我有一段时间在努力奋斗.
正如其他一些人所说,你必须包括:
方法:取消
和
状态:已取消
VEVENT的行.UID必须与原始事件相同且SEQUENCE:number必须是CURRENT序列号!(您不需要从最后一个序列号添加1,因为取消事件不算作更新).
我有问题,因为我认为取消计为更新,因此增加了我的序列号,但你不必!
我忘了添加 STATUS:CANCELLED
现在这应该根据http://en.wikipedia.org/wiki/ICalendar#Events_.28VEVENT.29取消项目
这适用于Google日历,但不适用于Outlook 2003.Outlook仍会创建重复的条目.
以下是"STATUS:CANCELED"修改的"取消"事件.(英文拼写有两张L's)
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//DDay.iCal//NONSGML ddaysoftware.com//EN X-WR-RELCALID:928C8448-048A-4aa2-BE27-A920773AF3DC METHOD:CANCEL BEGIN:VEVENT CREATED:20081210T210344Z DESCRIPTION: DTEND:20081213T093000 DTSTAMP:20081210T210344Z DTSTART:20081213T093000 LOCATION: ORGANIZER:MAILTO:user@domain.com SEQUENCE:1 STATUS:CANCELLED SUMMARY:Event to export 1 UID:20367b86-2123-4930-87ef-5c2a6626bd9f BEGIN:VALARM ACTION:DISPLAY SUMMARY:Event to export 1 TRIGGER:-PT30M END:VALARM END:VEVENT BEGIN:VEVENT CREATED:20081210T210344Z DESCRIPTION: DTEND:20081211T093000 DTSTAMP:20081210T210344Z DTSTART:20081211T093000 LOCATION:7 West ORGANIZER:MAILTO:user@domain.com SEQUENCE:1 STATUS:CANCELLED SUMMARY:Event to export 2 UID:f212ab15-86c3-46c8-8592-af0716a40ea2 BEGIN:VALARM ACTION:DISPLAY SUMMARY:Event to export 2 TRIGGER:-PT30M END:VALARM END:VEVENT END:VCALENDAR
我有一段时间在努力奋斗.
正如其他一些人所说,你必须包括:
方法:取消
和
状态:已取消
VEVENT的行.UID必须与原始事件相同且SEQUENCE:number必须是CURRENT序列号!(您不需要从最后一个序列号添加1,因为取消事件不算作更新).
我有问题,因为我认为取消计为更新,因此增加了我的序列号,但你不必!