Re: [PHP-XML-DEV] Reading openOffice files?

[email protected] (Christian Stocker) Fri, 22 Oct 2004 09:03:47 +0200
Newsgroups php.xml.dev
Message-ID <[email protected]>

On 22.10.2004 8:57 Uhr, Bernhard Zwischenbrugger wrote:
> Hi all
> 
> It should be possible to read and manipulate openOffice Files
> without big problemes using DOM und XSLT.
> 
> But openOffice Documents are compressed and I don't know how
> to uncompress these files.
> Is this possible with PHP5?

They are zipped as standard zip files (like in winzip, IIRC). You have 
to uncompress them by yourself (there's a zlib extension available, but 
you could also use the commandline)

chregu


> 
> thanks
> 
> Bernhard
> 

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB