On Wed, 2007-07-04 at 20:39 +0200, Tomeu Vizoso wrote:
> On Wed, 2007-07-04 at 14:18 -0400, John (J5) Palmieri wrote:
> > BTW We now have an official registered mime type "vnd.olpc-sugar" which
> > specifies "XO" as the magic key to identify the mime type.  At some
> > point the PK in the zip header will change to XO. 
> 
> Hmm, I was thinking about doing something similar to what OpenDocument
> does by storing a mimetype file uncompressed on the root of the archive.
> 
> In this way we can sniff the mime type while retaining full
> compatibility with zip files. Also, we can sniff for different kinds of
> bundles, if we reserve vnd.olpc-sugar for activity bundles.

That is fine but the magic bit makes it easier for others and doesn't
remove compatibility from zip tools.  They just spit out a warning. BTW
in fedora .ods files are opening up as zip archive.  That is clearly
wrong. 

-- 
John (J5) Palmieri <[EMAIL PROTECTED]>

_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to