Re: [RFC] XML_RfdCalendar, XML_GeoInfo, XML_FOAF, File_iCalendar

From: Date: Tue, 30 Sep 2003 15:13:26 +0000
Subject: Re: [RFC] XML_RfdCalendar, XML_GeoInfo, XML_FOAF, File_iCalendar
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22222@lists.php.net to get a copy of this message
Marshall Roch wrote:
Davey wrote: [snip, order switched to flow better] File_iCalendar This is going to be a counterpart to XML_RdfCalendar, I would like to take RdfCalendar files and generate ical files, and also ical files from scratch (obviously) iCalendar support is planned for the currently-being-voted-on File_IMC. It already parses vCalendar, and builds off of the vCard parser, so writing one from scratch seems less efficient then helping Paul and me with iCal support in File_IMC. Your help is welcome.
Count me in, really busy right now, but I'll be doing the theory and some code for work anyways, which I'm willing to a) contribute or b) advise/work with you on new stuff
XML_RdfCalendar I plan for the user to be able to do the following: Create a complete calendar from scratch, doing something like: $event[1] =& XML_RdfCalendar::new_event('foo'); $event[1]->set_start_time($start_time); $event[1]->set_end_time($end_time); $event[1]->set_description('bar baz'); and also tasks too, in a similar fashion, you just pass the array of events and an array of tasks to the XML_RdfCalendar::render() or some such and it'll output the RdfCalendar...
I'd like to see this extending File_IMC.
We shall have to see how this plans out, as such its mostly meant to be a stand alone package. What we should do is unify the API between XML_RdfCalendar and File_IMC_iCalendar (or whatever it is) so that all you need to do is choose the right renderer (iCal or RdfCal) at the end. We also need to be sure that whatever format the ical parses the data too, is the same as the way I keep my data before turning it into the output, that'll make things easier. As I've done no work so far, you're more than welcome to do what you like and i'll conform to that, however I'd like to be notified of what you're doing just in csae you make it incredibly impossible for me to work with the XML :) - Davey

« previous php.pear.dev (#22222) next »