如何更改 Outlook 中 iCalendar 的显示名称?
如何更改 Outlook 2010 中 iCalendar 的显示名称?我尝试使用 X-WR-CALNAME: myName
,但没有成功。 Outlook 使用文件名。
这是 iCal 文件的一部分:
BEGIN:VCALENDAR
PRODID:myProdId
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:myName
X-WR-TIMEZONE;VALUE=TEXT:US/Pacific
BEGIN:VEVENT
DTSTART:20110915T060000
DTEND:20110915T060000
How do I change the display name of an iCalendar in Outlook 2010? I tried to use X-WR-CALNAME: myName
, but it did not take. Outlook used the filename, instead.
Here is a part of iCal file:
BEGIN:VCALENDAR
PRODID:myProdId
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:myName
X-WR-TIMEZONE;VALUE=TEXT:US/Pacific
BEGIN:VEVENT
DTSTART:20110915T060000
DTEND:20110915T060000
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我使用 Outlook 2007 进行了测试,它确实从
X-WR-CALNAME
获取日历名称。使用不同的文件名多次测试,结果始终相同。无论文件名如何,日历名称都与X-WR-CALNAME
指定的相同。请确保您的日历符合iCalendar 规范并通过验证。
测试时,请注意 Outlook 会缓存日历,并且很难强制 Outlook 重新加载日历以确保您的更改已生效。我注意到最简单的方法就是重命名该文件并将其重新订阅到 Outlook 中。如果您最近添加了名称标签,则 Outlook 很可能只是显示缓存的版本,而不是最新的版本。
I tested with Outlook 2007 and it does take the calendar name from
X-WR-CALNAME
. Tested multiple times with different filenames and the result was always the same. Regardless of the file name, the calendar name was the same as specified byX-WR-CALNAME
.Please make sure your calendar complies with the iCalendar specification and passes validation.
When testing, please note that Outlook caches the calendars and it is difficult to force Outlook to reload the calendar to make sure your changes have taken effect. I've noticed that the simplest way is just to rename the file and resubscribe it into Outlook. If you recently added the name tag, it may well be Outlook is just displaying the cached version, not the most recent one.