2012-08-01 92 views
0

我想從我的網站創建一個事件的飼料,但當我嘗試導入時在iCal中出現錯誤。我希望它成爲訂閱用戶的訂閱,以便將事件自動添加到iCal或Outlook。錯誤與iCal/ics飼料

我送這些標題:

Content-Type: text/Calendar 
Content-Disposition: inline; filename=ical.ics 

這裏是正在生成的文件的內容。現在它只有一個事件,但最終會有多個BEGIN:VEVENT。

TZ: America/New_York 
BEGIN:VCALENDAR 
VERSION:2.0 
METHOD:PUBLISH 
X-WR-CALNAME:Calendar Feed 
PRODID:-//Herkimer//iCal 5.0//EN 
CALSCALE:GREGORIAN 
BEGIN:VEVENT 
CLASS:PUBLIC 
CREATED:20120801T141628Z 
DESCRIPTION: 
DTEND:20120926T220000Z 
DTSTAMP:20120926T220000Z 
DTSTART:20120926T220000Z 
LAST-MODIFIED:20120801T141628Z 
LOCATION:Building 
PRIORITY:5 
SEQUENCE:0 
SUMMARY;LANGUAGE=en-us:Test Event 
TRANSP:OPAQUE 
UID:5577 
X-MICROSOFT-CDO-BUSYSTATUS:BUSY 
X-MICROSOFT-CDO-IMPORTANCE:1 
X-MICROSOFT-DISALLOW-COUNTER:FALSE 
X-MS-OLK-ALLOWEXTERNCHECK:TRUE 
X-MS-OLK-AUTOFILLLOCATION:FALSE 
X-MS-OLK-CONFTYPE:0 
END:VEVENT 
END:VCALENDAR 

你知道它爲什麼出錯嗎?

回答