Advanced

How to correctly create ODF documents using zip

Posted by Sander_Marechal on · Post a comment
Lone Wolves; By Sander Marechal, The Netherlands
Mail this story
Print this story

One of the great advantages of the OpenDocument format is that it is simply a zip file. You can unzip it with any archiver and take a look at the contents (which is a set of XML documents and associated data), change it, re-zip it and you have a new document. But, the OpenDocument Format specification, section has one little extra restriction when it comes to zip containers. The file called “mimetype” must be at the beginning of the zip file, it must be uncompressed and it must be stored without any additional file attributes. If you don't do this then many applications (such as Officeshots.org) may refuse to open your documents. In this article I will show you how to correctly create ODF documents using zip.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: OpenOffice.org

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments

No comments yet. Be the first.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post