From: Chad <ch...@ch...> - 2002-10-16 03:42:57
|
12) parse VTODO. yeah, I think we need #12 as well. ;-) Thought that was what you wanted to work on? -C On Tuesday, October 15, 2002, at 08:09 PM, Waitman C. Gobble wrote: > ok, let me see if i got it straight. > the ones with a plus sign to the left is complete. > > +1) Figure out why Oct 27th isn't parsed correctly on all systems. > 2) Email this event. - Sends a .ics file with just that event. > 3) Search - Find yo mama's birthday. > +4) Calendar coloring - Specify which style sheets to use for calendars > 1, 2, 3, 4... > +5) Year.php - I will toss this together on my trip hopefully. > +6) More themes - Will hope that some people submit a few new themes to > support #3. > > > Optional items: > > 7) Config builder for group-ware users - Builds a config.inc.php based > on drop down menus, form submit. > +8) Find an elegant solution to viewing a busy week - Decrease font > size, Truncate summary. > 9) Cookies for languages. - Pick a language, set a cookie. > +10) Change page titles - Based on date for easy bookmarking. > 11) Build a a nice homepage. - Support for downloads, rankings, > submissions, comments. Maybe look at nuke again. > 12) Bug fixes. > > > so, you need #2 and #3, right? > > thanks, > > waitman > > > On Tue, 2002-10-15 at 19:40, Chad wrote: > Since Jared and I don't have access to Moz Calendar (though I > could I > suppose) we hadn't planned support until 0.9 or so. My thoughts are > that adapting the parser would be pretty simple once we had gotten > all > the logic down. > > If I have some time tonight I'll look at putting my PC back > together. > We can make mozilla the top item for 0.8. > > In the meantime I'd prefer us stick to the roadmap for the next > release. I'd like to have it out by sunday night. Although I think > I've > lost Jared's help to homework. ;-) > > I'm sure the roadmap is somewheres in the mailing list archives. > > > -C > > > On Tuesday, October 15, 2002, at 07:29 PM, Waitman C. Gobble > wrote: > >> hello! >> >> please review the following unfolding code. according to rfc 2445, >> each >> line in the ics file must be 75 octets or less in length. each line is >> to terminated by CRLF. if the data portion causes the particular line >> to >> exceed 75 octets, then the line is to broken, with the excess placed >> on >> the following line(s) and preceded by a single space (ascii 32) or >> htab >> (ascii 9). >> >> (sheesh, i bet that made the unix and mac ppl happy, but hey look... a >> guy at microsoft co-authored the rfc... now can someone tell me why >> outlook doesn't do this right?) >> >> anyhow, i think this unfolding business is the reason that the >> existing >> phpicalendar scripts wouldn't read the mozilla files. i posted a >> quick-fix on the forum but i bet it wouldn't read multiple-multiple >> lines, ie if the particular line was long enough to exceed two lines. >> >> i tested it on a mozilla ics and an apple ics i found at apple.com >> if somebody has a really good one with lots of text in the >> descriptions, >> that would be super-cool. >> >> <?php >> >> //$ical_file="/53073H4/calenders/kristi.ics"; >> $ical_file="/53073H4/calenders/Premieres32Pacific.ics"; >> >> //need file name in $ical_file >> $errstr=""; >> >> if (!@file_exists($ical_file)) >> { >> >> $errstr="The file does not exist."; >> >> } else { >> >> //unfold file >> >> $folded=@file($ical_file); >> $unfolded = array(); >> $buffer = ""; >> for ($jj=0;$jj<count($folded);$jj++) >> { >> if (strlen($folded[$jj])>0) >> { >> if ( (ord(substr($folded[$jj],0,1))==32) || >> (ord(substr($folded[$jj],0,1))==9) ) >> { >> $buffer .= substr($folded[$jj],1,strlen($folded[$jj])-1); >> } else { >> if (strlen($buffer)>0) >> { >> $unfolded[]=$buffer; >> } >> $buffer=$folded[$jj]; >> } >> } >> } >> } >> >> //remove linefeeds and carriage returns >> >> for ($jj=0;$jj<count($unfolded);$jj++) >> { >> $unfolded[$jj] = @ereg_replace("\n","",$unfolded[$jj]); >> $unfolded[$jj] = @ereg_replace("\r","",$unfolded[$jj]); >> } >> print_r($unfolded); >> >> >> ?> >> >> >> >> thanks >> >> waitman >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: viaVerio will pay you up to >> $1,000 for every account that you consolidate with us. >> http://ad.doubleclick.net/clk;4749864;7604308;v? >> http://www.viaverio.com/consolidator/osdn.cfm >> _______________________________________________ >> Phpicalendar-devel mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |