From: Greg W. <we...@fa...> - 2003-07-01 04:20:48
|
I'm not sure about the best way to do this, but I think I would suggest that headway could be made on a number of the things I mentioned by keeping track of the components of the combined calendar(s). If init.inc.php set an array with all the component names, then: -It would leave open the door for user-specified combinations -ical_parser could look up the revision dates of each of the component calendars and make sure none are newer than the parsed combo calendar. That would solve the error I mentioned and would make sure the combined calendar gets updated when any component is updated. I hesitate to implement any of this simply because I don't feel very confident wading into this just yet, but this seems like a relatively doable change to make. I'll try my hand at it later if nobody takes care of it or has a better idea. Greg --- http://www.gregwestin.com/ Contact info: http://www.gregwestin.com/contact.php On Tue, 1 Jul 2003, Greg Westin wrote: > Fabulous! Thank you for this great improvement. Here are my initial > reactions (read: comments after 2 seconds): > > -This is a much needed improvement, and most of the work looks to be done. > -How many calendars can this support at once? I assume there's a finite > number of colors; if it doesn't automatically cycle through them already, > it should. I haven't tried maxing it out by making lots of calendars or > lots of event on the same week, but it can do three events simultaneously, > which is enough for me. > -It would be nice to be able to customize your combined calendars, either > by putting them into folders, or better, by specifying various > combinations in, say, the config.inc.php file, and/or via the admin > interface. > -We need to come up with some way of having the combined calendar(s) > automatically update when the component calendars are updated. > -I get the following error whenever I load the combined calendar: > > Warning: filemtime() [function.filemtime]: Stat failed for (errno=2 - No > such file or directory) in > /Library/WebServer/ical.gregwestin.com/phpicalendar/functions/ical_parser.php > on line 35 > > Anyone else get that? It looks like it happens because ical_parser looks > for $filename, which is the name of the calendar, which in the case of the > combined calendar doesn't exist. I suppose we just need a special case > there. > > Greg > --- > http://www.gregwestin.com/ > Contact info: http://www.gregwestin.com/contact.php > > On Mon, 30 Jun 2003, Chad Little wrote: > > > Thanks to Sjoerd Bosga <sj...@es...> for providing this > > starting point. Please test away and submit comments back to this list. > > > > -C > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Phpicalendar-devel mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > |