包含多个事件的ical文件无法导入(单个事件可以正常运行) [英] ical file containing multiple events doesn't import (single event works fine)

查看:63
本文介绍了包含多个事件的ical文件无法导入(单个事件可以正常运行)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试(但失败)导入包含多个事件的ics文件.当我仅包含一个事件时,导入将起作用(我正在使用iCal).一旦发生第二个事件,它就会失败.

I am trying (and failing) to import an ics file that contains multiple events. When I include just one event the import works (I'm using iCal). As soon as a second event is there it fails.

每个事件都包含在BEGIN:VEVENT ... END:VEVENT标记中.

Each event is enclosed in BEGIN:VEVENT...END:VEVENT tags.

谁能告诉我这个ics文件出了什么问题?

Can anyone tell me what's wrong with this ics file?

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Foobar Foobar//NONSGML Foobar Foobar//EN
METHOD:REQUEST
BEGIN:VEVENT
UID:PBSTI000000000017Z@foobar.com
DTSTAMP:20111210T161211Z
DTSTART:20111210T210000Z
DTEND:20111210T230000Z
TRANSP: TRANSPARENT
SUMMARY:Foobar - foobar
DESCRIPTION:Foobar - foobar
END:VEVENT
BEGIN:VEVENT
UID:PBSTI000000003246Z@foobar.com
DTSTAMP:20110824T161211Z
DTSTART:20110824T170000Z
DTEND:20110824T170000Z
TRANSP: TRANSPARENT
SUMMARY:Foobar - foobar
DESCRIPTION:Foobar - foobar
END:VEVENT
END:VCALENDAR

谢谢.

推荐答案

您可以拥有一个包含多个事件的文件,并且如果用户明确地导入该文件(通过File-> Open-> Import),该文件也可以正常工作,但是点击仅导入第一个事件.

You can have a file with multiple events, and it will work fine if users explicitly import it (through File->Open->Import), but double-clicking imports only the first event.

这篇关于包含多个事件的ical文件无法导入(单个事件可以正常运行)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆