MozillaZine

Splitting the Sunbird Calendar file

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
ralber
 
Posts: 28
Joined: November 19th, 2004, 12:31 pm

Post Posted January 5th, 2005, 1:51 pm

My calendar file, CalendarDataFile.ics, is a little over a megabyte in size and I think its size may be part of the reason my Sunbird application runs so darn slow. So, I thought I'd split the calendar into two calendar files - pre-2005 and 2005. Can anybody tell me how I should properly divide the .ics file to accomplish this? I think I can kind of follow the structure of the .ids file when I view it in a text editor, but I don't want to make a mistake.

Thanks.

----- Rick Alber

smsmith
Moderator

User avatar
 
Posts: 19845
Joined: December 7th, 2004, 8:51 pm
Location: Indiana

Post Posted January 5th, 2005, 3:15 pm

Why not just make a backup of the file, and delete the pre 2005 events/tasks? Or just make a new calendar that has all of the new stuff in it and tell calendar to hide the old one? This is done by clicking the calendars tab and turning off the old one (there is a checkbox).

ralber
 
Posts: 28
Joined: November 19th, 2004, 12:31 pm

Post Posted January 12th, 2005, 6:48 pm

I'd like to do either of these approaches but I'm confused by the way in which Sunbird stores info about recurring events. I have many of those and when I try to move all 2005 events over to a new calendar I don't get the recurring ones. If I try to delete all of the pre-2005 events from a copy of the current calendar the recurring events also get messed up.

Can anybody point me to a location where the format of the calendar .ics file is described?

Thanks.

------ Rick Alber

Rod Whiteley

User avatar
 
Posts: 11480
Joined: December 6th, 2004, 3:41 am
Location: UK

Post Posted January 13th, 2005, 2:49 am

RFC 2445, for example at: http://www.faqs.org/rfcs/rfc2445.html
Rod

ralber
 
Posts: 28
Joined: November 19th, 2004, 12:31 pm

Post Posted January 13th, 2005, 11:13 am

Thank you, kind sir.

-------- Rick

Return to Calendar


Who is online

Users browsing this forum: No registered users and 1 guest