Plans - Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist     RegisterRegister  ProfileProfile   Log inLog in
iCalendar / Mozilla caveat

 
Post new topic   Reply to topic    Plans - Forum Forum Index » Problems
View previous topic :: View next topic  
Author Message
BruceKahn



Joined: 31 Oct 2005
Posts: 17
Location: Hudson, MA, USA

PostPosted: Fri Oct 20, 2006    Post subject: iCalendar / Mozilla caveat Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Plans - Forum Forum Index -> Problems All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group / Oranja by Lessthaneric.net