ICalendar not readable by google calendar.

前端 未结 3 789
有刺的猬
有刺的猬 2020-12-14 13:31

Operating system : WinXP Program and version you use to access Google Calendar (FF3.5):

I\'m developing a script (based on an existing vCal ASP.NET class I found o

相关标签:
3条回答
  • 2020-12-14 13:51

    The problem with ical feeds is that different calendars are picky about different things, and the spec is, at least for me, kind of hard to follow. However, Kanzaki does a great job of making the spec clear for programmers like me.

    Now, your ical feed also needs to be exact down to the newline break (Apple's ical won't import feeds with the wrong newline at the end) and I've found a combination of these 3 validators to work best:

    • most basic: http://severinghaus.org/projects/icv/?url=
    • better: http://icalvalid.cloudapp.net/Default.aspx
    • most strict: http://ical-validator.herokuapp.com/validate/

    The most strict validator actually had false positives for me (ie, it reported errors that actually aren't errors according to the spec), but caught some errors the first two didn't, that's why I would recommend running your feed through all three of them.

    0 讨论(0)
  • 2020-12-14 13:56

    The Ical format says that each line has a max length of 75 bytes - split lines restart on the next line with single whitespace character inserted at the beginning.

    I'm not at all sure but I seem to recall Google calendar expecting this requirement.

    0 讨论(0)
  • 2020-12-14 14:00

    Running your feed through this validator - http://icalvalid.cloudapp.net/Default.aspx - will get you a long way there, but it's not 100%. I ran into additional issues with special characters which needed to be escaped.

    0 讨论(0)
提交回复
热议问题