<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2745.2800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am trying to change the content of OpenOffice ODT
files using PHP programs. </FONT></DIV>
<DIV><FONT face=Arial size=2>gunzip my_file.odt gives a
directory name my_files.odt_FILES containing various directories and files,
including content.xml.</FONT></DIV>
<DIV><FONT face=Arial size=2>I can change items within content.xml.</FONT></DIV>
<DIV><FONT face=Arial size=2>My attempts at rezipping the files back to an odt
don't give the correct structure.</FONT></DIV>
<DIV><FONT face=Arial size=2>How do I rezip the directories and files to
give a valid odt file?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,
Brendan </FONT></DIV></BODY></HTML>