来自iCal Feed URL的事件显示为“忙”在Google日历中 [英] Events from iCal Feed URL Display as "Busy" in Google Calendar
问题描述
我正在尝试在Google日历中查看由我的系统生成的标准格式的日历供稿。我是通过其他日历下拉菜单中Google日历的按URL添加功能来完成此操作的,并将URL提供给动态生成的ics ical文件。
I am attempting to view a ical formatted calendar feed generated by my system in Google Calendar. I am doing this via Google Calendar's "Add by URL" function in the "Other Calendars" drop down menu, and supplying the URL to the dynamically generated ics ical file.
Google日历确实从Feed中成功读取了事件并创建了日历,但是所有事件仅显示为忙碌,除了事件发生的时间之外,没有其他任何细节(摘要,说明等)。事件在Google日历视图中还带有私人锁定图标。
Google Calendar does successfully read the events from the feed and creates the calendar, however all the events are just shown as "Busy" with no details (summary, description, ect) other than the time of the event. The events also have a "Private" lock icon on them in the google calendar view.
我已经查看了生成的iCal文件的内容,但没有看到任何内容。 Google日历将活动呈现为私人的原因。每个VEVENT的CLASS属性都设置为 PUBLIC。我还已经在OSX的iCal应用程序中订阅了相同的URL,并且事件显示完美,显示了所有详细信息。
I've looked over the generated iCal file's contents and I don't see any reason why Google Calendar would render the events as Private. Each VEVENT has its CLASS property set to "PUBLIC". I have also subscribed to the same URL in OSX's iCal application and the events display perfectly, with all details shown.
下面是生成的ical文件(已删除敏感信息) ):
Below is a the generated ical file (with sensitive info removed):
BEGIN:VCALENDAR
PRODID:-//My Calendar//iCal Class MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
X-WR-CALNAME:Joe Smith
BEGIN:VEVENT
DTSTART:20111124T050000Z
DTEND:20111124T050000Z
TRANSP:OPAQUE
SEQUENCE:0
UID:ToDos_82
DTSTAMP:20111108T143800Z
DESCRIPTION;LANGUAGE=en;ENCODING=QUOTED-PRINTABLE:Quisque convallis elementum dui at tristique.
SUMMARY;LANGUAGE=en;ENCODING=QUOTED-PRINTABLE:Test Event
PRIORITY:0
CLASS:PUBLIC
STATUS:CONFIRMED
END:VEVENT
BEGIN:VEVENT
DTSTART:20111124T050000Z
DTEND:20111124T050000Z
TRANSP:OPAQUE
SEQUENCE:0
UID:ToDos_83
DTSTAMP:20111108T143800Z
DESCRIPTION;LANGUAGE=en;ENCODING=QUOTED-PRINTABLE:Proin venenatis ullamcorper dui quis porttitor.
SUMMARY;LANGUAGE=en;ENCODING=QUOTED-PRINTABLE:Another Test Event
PRIORITY:0
CLASS:PUBLIC
STATUS:CONFIRMED
END:VEVENT
BEGIN:VEVENT
DTSTART:20111108T050000Z
DTEND:20111111T050000Z
LOCATION;LANGUAGE=en;ENCODING=QUOTED-PRINTABLE:CLS HQ
TRANSP:OPAQUE
SEQUENCE:0
UID:Events_10
DTSTAMP:20111108T143800Z
DESCRIPTION;LANGUAGE=en;ENCODING=QUOTED-PRINTABLE:Doing some more testing here
SUMMARY;LANGUAGE=en;ENCODING=QUOTED-PRINTABLE:Yet Another Test Event
PRIORITY:0
CLASS:PUBLIC
STATUS:CONFIRMED
END:VEVENT
END:VCALENDAR
推荐答案
看来我已经解决了这个问题。我提供的GCal日历的URL没有以文件名结尾(我使用PHP框架重写URL)。我更新了URL,在其上附加了 /calendar.ics,并在GCal中订阅了该URL,现在所有事件似乎都可以正常显示,并显示了所有详细信息。
Well it appears that I have fixed the issue. The calendar's URL that I provided GCal did not end in a filename (I use a PHP framework with URL rewriting). I updated the URL, appending "/calendar.ics" to it and subscribed to the URL in GCal, and now all events seem to display fine, showing all details.
这篇关于来自iCal Feed URL的事件显示为“忙”在Google日历中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!