[Sussex] Manipulating ODT files

Brendan Whelan b_whelan at mistral.co.uk
Mon Jul 23 11:33:55 UTC 2007


I am trying to change the content of OpenOffice ODT files using PHP programs. 
gunzip my_file.odt   gives a directory name my_files.odt_FILES containing various directories and files, including content.xml.
I can change items within content.xml.
My attempts at rezipping the files back to an odt don't give the correct structure.
How do I rezip the directories and files to give a valid odt file?

Thanks,  Brendan  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/sussex/attachments/20070723/a18f286f/attachment.htm 


More information about the Sussex mailing list