为什么标题和位置没有显示在我的 .ics 文件中?
Why arent titles and locations displaying in my .ics file?
我正在我的 Web 应用程序中构建一个 .ics 文件,用于通过电子邮件向客户发送事件。
ics内容如下:
BEGIN:VCALENDAR
BEGIN:VEVENT
UID:a0F8E00000oRFD1UAO
DTSTART:20200409T100000
DTEND:20200409T110000
BEGIN:VALARM
TRIGGER:-PT1H
ACTION:DISPLAY
SUMMARY:VNI-073
LOCATION:Location 1, Tower Hill, , United Kingdom
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:a0F8E00000oRFD2UAO
DTSTART:20200409T113000
DTEND:20200409T123000
BEGIN:VALARM
TRIGGER:-PT1H
ACTION:DISPLAY
SUMMARY:VNI-074
LOCATION: Location 2, Buckingham Place, SW1E, United Kingdom
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:a0F8E00000oRFD3UAO
DTSTART:20200409T130000
DTEND:20200409T140000
BEGIN:VALARM
TRIGGER:-PT1H
ACTION:DISPLAY
SUMMARY:VNI-075
LOCATION:Location 3, 170 Piccadilly, W1J 9EU, United Kingdom
END:VALARM
END:VEVENT
END:VCALENDAR
事件的标题和地点没有添加到我的日历条目中(见屏幕截图):
您的摘要和位置属性都嵌入在 VALARM 组件中(即在 BEGIN:VALARM 和 END:VALARM 之间),而不是 VEVENT 级别的属性
具体来说,而不是
BEGIN:VEVENT
UID:a0F8E00000oRFD1UAO
DTSTART:20200409T100000
DTEND:20200409T110000
BEGIN:VALARM
TRIGGER:-PT1H
ACTION:DISPLAY
SUMMARY:VNI-073
LOCATION:Location 1, Tower Hill, , United Kingdom
END:VALARM
END:VEVENT
你想做什么
BEGIN:VEVENT
UID:a0F8E00000oRFD1UAO
DTSTART:20200409T100000
DTEND:20200409T110000
SUMMARY:VNI-073
LOCATION:Location 1, Tower Hill, , United Kingdom
BEGIN:VALARM
TRIGGER:-PT1H
ACTION:DISPLAY
END:VALARM
END:VEVENT
我正在我的 Web 应用程序中构建一个 .ics 文件,用于通过电子邮件向客户发送事件。
ics内容如下:
BEGIN:VCALENDAR
BEGIN:VEVENT
UID:a0F8E00000oRFD1UAO
DTSTART:20200409T100000
DTEND:20200409T110000
BEGIN:VALARM
TRIGGER:-PT1H
ACTION:DISPLAY
SUMMARY:VNI-073
LOCATION:Location 1, Tower Hill, , United Kingdom
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:a0F8E00000oRFD2UAO
DTSTART:20200409T113000
DTEND:20200409T123000
BEGIN:VALARM
TRIGGER:-PT1H
ACTION:DISPLAY
SUMMARY:VNI-074
LOCATION: Location 2, Buckingham Place, SW1E, United Kingdom
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:a0F8E00000oRFD3UAO
DTSTART:20200409T130000
DTEND:20200409T140000
BEGIN:VALARM
TRIGGER:-PT1H
ACTION:DISPLAY
SUMMARY:VNI-075
LOCATION:Location 3, 170 Piccadilly, W1J 9EU, United Kingdom
END:VALARM
END:VEVENT
END:VCALENDAR
事件的标题和地点没有添加到我的日历条目中(见屏幕截图):
您的摘要和位置属性都嵌入在 VALARM 组件中(即在 BEGIN:VALARM 和 END:VALARM 之间),而不是 VEVENT 级别的属性
具体来说,而不是
BEGIN:VEVENT
UID:a0F8E00000oRFD1UAO
DTSTART:20200409T100000
DTEND:20200409T110000
BEGIN:VALARM
TRIGGER:-PT1H
ACTION:DISPLAY
SUMMARY:VNI-073
LOCATION:Location 1, Tower Hill, , United Kingdom
END:VALARM
END:VEVENT
你想做什么
BEGIN:VEVENT
UID:a0F8E00000oRFD1UAO
DTSTART:20200409T100000
DTEND:20200409T110000
SUMMARY:VNI-073
LOCATION:Location 1, Tower Hill, , United Kingdom
BEGIN:VALARM
TRIGGER:-PT1H
ACTION:DISPLAY
END:VALARM
END:VEVENT