From: Jared <xe...@si...> - 2002-11-20 00:58:54
|
Ahh, I understand now. I have an idea, maybe we can let the scripts know what version it is. Then, when the data is gotten from the array, if it was created with a previous version, it will reparse to guarantee that everything is up to date. That's an easy solution and I think it will work OK. It's sort of like the "VERSION" property in the iCal spec. :) -Jared On Tuesday, November 19, 2002, at 06:00 PM, Greg Westin wrote: > Ok, I guess the problem is something that would only occur in this very > rare case. The problem I had today was that the calendar HASN'T > changed, > but what PHP iCalendar is parsing from it has, with the addition of > VTODO > support. Obviously, changes to the parser aren't common enough or huge > enough to warrant an immediate-reparsing feature, except perhaps for > developers. For some reason, I was thinking that in addition to this > problem, you'd run into trouble with changes throughout the course of a > day, because I was thinking of 'modification date' as just the date, > not > the date and the time, which of course it is. > > Sorry about the misunderstanding, > > Greg > > --- > gr...@gr... > http://www.gregwestin.com/ > Contact info: http://www.gregwestin.com/contact.php > > On Tue, 19 Nov 2002, Jared wrote: > >> On Tuesday, November 19, 2002, at 12:41 PM, Greg Westin wrote: >> >>> No, no error in that respect. I meant if people wanted the calendar, >>> in >>> general, to show the parsed calendar, but at some moment wanted to >>> get >>> the >>> most current calendar, instead. For example, if I didn't have the >>> ability >>> to change either my config.inc.php settings or remove the fiels from >>> /tmp, >>> I wouldn't be able to see my todos in any of my recently-viewed >>> calendars >>> right now, because they were parsed before I updated my CVS to >>> include >>> the >>> VTODO support. >> >> You should be able to see the changes. The script determines whether >> to >> reparse on if the file is different than the last time it parsed. If >> you added something to the file, surely the modification date would >> change and the script would know to reparse it. As Chad said, if this >> is not working for you, let me know and I'll try to figure it out. >> Providing a method to force-reparse the file would be possible (and >> easy) but I just don't see the benefit. >> >> If I'm not understanding you, please try to explain again. >> >> -Jared >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: To learn the basics of securing >> your web site with SSL, click here to get a FREE TRIAL of a Thawte >> Server Certificate: http://www.gothawte.com/rd524.html >> _______________________________________________ >> Phpicalendar-devel mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel >> > > > > ------------------------------------------------------- > This sf.net email is sponsored by: To learn the basics of securing > your web site with SSL, click here to get a FREE TRIAL of a Thawte > Server Certificate: http://www.gothawte.com/rd524.html > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |