[kronolith] mcal list events

Jan Schneider janmailing@gmx.de
Thu, 19 Jul 2001 19:38:11 +0000


Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <janmailing@gmx.de>:
> 
> > CSV and RFC 2425. Currently only import.
> > If you know a better name, tell me.
> 
> What about a general Data:: class (or maybe FileFormat:: ?), with _csv and 
> _rfc2425 subclasses?

You mean like this:
$input = new Data_csv('/tmp/input.csv');
$data = $csv->import();
$output = new Data_csv('/tmp/output.csv');
$output->export($data)
?

Why not.

I've only been working on importing from files (opposed to strings) so far 
because I can use fget_cvs and uploading a file to import will probably the 
most common scenario.

Do you think we also need other ways of importing csv?
I think we definitely need mime handlers for vCard and v/iCalendar so that 
attachments in these formats can be exchanged between imp and kronolith/turba.

What about exporting? Perhaps I'll have to implement a csv export from turba 
anyway for one of out customers. They want to have an addressbook that allows 
serial mailings. Is it better to export the data to a file on the filesystem 
and send this one to the browser, or to send the data directly to browser using 
content-disposition?
Who does the mbox export in imp work?

So many questions, so much to do, so few time! ;-)

Jan.