BruceKahn
Joined: 31 Oct 2005 Posts: 17 Location: Hudson, MA, USA
|
Posted: Fri Oct 20, 2006 Post subject: iCalendar / Mozilla caveat |
|
|
This is NOT a strict Plans bug report, it is more a big caveat for sites to be aware of! (Sorry if it should go elsewhere but no other forum seemed like a good choice.)
Although ~95% of our sites traffic is MSIE users, we do have some Mozilla users. One reported a problem with the data they tried to export some entries as iCalendar. They reported that the data was incompleted, it was improperly formatted and appeared truncated:
| Code: |
BEGIN:VCALENDAR
PRODID:-//Plans//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
ORGANIZER:Pack 4 Calendar
DTSTART:20061025T183000
DTEND:20061025T200000
TRANSP:OPAQUE
SEQUENCE:0
UID:http://www.hudsoncubscouts.org/Calendar/plans.cgi?view_event=1&evt_id=298
DTSTAMP:20061020
DESCRIPTION:Riverside Gun Club\nWilkens Street\n\nActivity: Space Derby
SUMMARY:Pac
|
I was about to report it as a problem (since I use Mozilla at work I confirmed this). Then I had a flash gut check to see what MSIE did since I know Lloyd would not let such a gross error out. So I fired up MSIE and tried the same action. The data came down just fine:
| Code: |
BEGIN:VCALENDAR
PRODID:-//Plans//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
ORGANIZER:Pack 4 Calendar
DTSTART:20061025T183000
DTEND:20061025T200000
TRANSP:OPAQUE
SEQUENCE:0
UID:http://www.hudsoncubscouts.org/Calendar/plans.cgi?view_event=1&evt_id=298
DTSTAMP:20061020
DESCRIPTION:Riverside Gun Club\nWilkens Street\n\nActivity: Space Derby
SUMMARY:Pack Meeting (Pack 4 Calendar)
PRIORITY:5
CLASS:PUBLIC
END:VEVENT
END:VCALENDAR
|
Sooo the caveat here is that there may be some Mozilla related bug that prevents it from saving the entire stream to disk. I will try tossing a sniffer on the wire later to be 100% sure that all the data IS coming down for Mozilla users but I figured I should at least get the caveat out there for now.
Bruce
PS: Technically it is not 100% correct iCalendar as the blank line just before the END:VCALENDAR is not supposed to be there but most iCalendar parsers will just eat it anyway. |
|