[dev] OpenOffice mime driver
Jan Schneider
jan at horde.org
Thu Mar 6 11:48:00 PST 2003
Quoting Marko Djukic <marko at oblo.com>:
> jan,
>
> i dumped in there an empty renderer for the moment. wanted to see what
> you think
> of this idea... i played some more with some of the available drivers out
> there,
> and frankly they are not that good. then had the idea to go figure out
> how to
> unzip the file from php since OOo is essentially a zip format + xml, and
> there's
> this LGPL class out there:
> http://www.phpconcept.net/pclzip/index.php
> which allows you to unzip any .sx* file, try this script on any of your
> OOo files:
> <?php
> require './pclzip.lib.php';
> $myooo = &new PclZip('/tmp/test.sxc');
> $myooo->extract('/tmp/');
>
> and once we have that then the xml >> html is straightforward! thought of
> either
> pulling out the parts of the PclZip class which are needed to extract, or
> even
> if a zip class would be good in horde make the whole class a horde
> component
> (thinking uploading/downloading zips in gollem, etc. rather than just the
> .gz
> format).
You should take a look at lib/Compress.php ;-)
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the dev
mailing list