Package advene :: Package model :: Module zippackage
[hide private]
[frames] | no frames]

Module zippackage

source code

OpenDocument style package format.

This format is a transition from the plain xml Advene package format to a richer format inspired by OpenDocument (zip file with data + metadata).

It is intented as a temporary measure before the complete rewrite of the Advene package format.

File extension: .azp (Advene Zip Package) which will be followed by .aod (Advene OpenDocument)

General layout:

 foo.azp/
         mimetype
         content.xml
         resources/
         meta.xml (optional)
         META-INF/manifest.xml

Contents:

 mimetype: application/x-advene-zip-package
 content.xml: the previous package.xml format
 resources/: associated resources,
             available through the TALES expression /package/resources/...
 meta.xml: metadata (cf OpenDocument specification)
 META-INF/manifest.xml : Manifest (package contents)
Classes [hide private]
  ZipPackage
Variables [hide private]
  _fs_encoding = 'utf8'
  MIMETYPE = 'application/x-advene-zip-package'
  MANIFEST = 'urn:oasis:names:tc:opendocument:xmlns:manifest:1.0'