[odf-discuss] Why and how the OpenDocument format can save you
a lot of time!
soren.roug at eea.europa.eu
Sat May 22 06:00:16 EDT 2010
It's somewhat of a brute force solution. The main issue is that the mimetype
has to be the first element in the zip-file and not be compressed in order to
comply fully with the specification
Since the my_template.odt file already complies, it is much easier to take out
only content.xml and then stuff it back in.
cp my_template.odt new_$FILENAME.odt
unzip new_$FILENAME.odt content.xml
sed ..... content.xml >custom_content.xml
mv custom_content.xml content.xml
zip -f new_$FILENAME.odt content.xml
On Fri, May 21, 2010 15:00:32 PM -0700, Andy Brown (andy at the-martin-byrd.net)
> M. Fioretti wrote:
> >here is the introduction to a series of quick and dirty recipes I'll
> >publish on my "tips &tricks" website:
> Thank for link, Marco. I just took a quick glance at it but it
> looks promising and I will be passing it on to a group that I am
> trying to convince to switch to ODF.
You're welcome! Here's a first, practical example of what I was
odf-discuss mailing list
odf-discuss at opendocumentfellowship.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the odf-discuss