On Thu, May 28, 2009 at 22:53, Sascha Silbe
sascha-ml-ui-sugar-de...@silbe.org wrote:
On Wed, May 27, 2009 at 12:34:03PM -0500, James Simmons wrote:
5). When several Activities support the same MIME type (Zip files are
BOUND to be popular) then there needs to be a way of specifying that a
particular Journal entry should be resumed by a particular Activity by
default.
Actually zip is just a container format and should be handled as such (if
possible at all). I.e. zips created by activities should use a MIME type
identifying the _contents_, not the generic application/zip.
File formats can be - and often are - nested: OpenOffice documents are
xml-inside-zip, some other application might be using
xml-inside-tar-inside-gz and source tarballs are
(C+Makefile+...)-inside-tar-inside-bz2. Unfortunately, most software using
MIME types has very little support for such complexity (only
gzip/bzip/compress as encodings). While it would be nice for the Journal
to handle the full (i.e. nested) type, we'll need to cope with the lack of
support in other software (like web servers) for quite some time.
The journal and browse are able to sniff the types of these formats,
so activity authors are encourage to use this scheme and ship a
mimetypes.ml file inside their bundles.
Regards,
Tomeu
CU Sascha
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
iQEcBAEBAgAGBQJKHvm9AAoJELpz82VMF3Da2m0IAIys+LuTpmJ1V9HFOHbW9PuU
B6DpPj2i7SFkcdJ+8Rn4M/aSrslvV1f+3vFXeHhiFzYXFteWd2Vmc7zZCKRYLvxo
6IaFqIGWIFTViLbq1rJNtHu7ZBm5zS5bzRTRP2PKZ9rHCdfLzDM3lfLdKkAeOHX+
u+MzC+YLAPGp7Va4o9jov1qXJm1QH0dxzt80z2r5cI9ihoXuK90B9TmckGXU+MxO
kbbdFSW2RVogix7btAZZQyQmx0rbNgqVTzQW8nkRLAIheJ2yBGGGWxs9YdzNmPUv
JDeg5lTuoCGfW1kgzIPBRZNdsXSntaen1gCvwjFZCrwr5BBXr37y83KVmq5LBlk=
=c5vn
-END PGP SIGNATURE-
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel