[Sugar-devel] activities using zip files

Sayamindu Dasgupta sayamindu at gmail.com
Thu May 28 18:40:19 EDT 2009


On Fri, May 29, 2009 at 3:54 AM, James Simmons
<jim.simmons at walgreens.com> wrote:
> Sascha,
>
> If the Activity creates a Zip file then the Journal automatically
> resumes it in that Activity.  Making Activities use a special MIME type
> when creating a Journal entry doesn't give me anything I don't have already.
>
> Where we have problems is in downloading Zip files from Gutenberg and
> other places that don't do anything special with the MIME type.  For
> instance, Gutenberg has zipped up text files as well as zipped up
> websites (multiple html pages plus illustrations).  Somebody mentioned
> that Browse will eventually be able to save web pages with
> illustrations, etc. as zipfiles for offline reading.  If Browse could
> handle that, you'd also want it to be able to open these Gutenberg zip
> files if they are saved in the Journal, and it would be nice to do it
> with one click.
>
> The format I use for View Slides is sometimes called CBZ.  It's just a
> Zip file containing images with a .cbz suffix rather than .zip.  The
> GNOME desktop recognizes this file type and displays the first image in
> the file as the file's icon.  I don't think there is a MIME type for
> that though.
>

The version of Read that is associated with OLPC 8.2.1 release (as
well as newer versions of Read) should be able to handle CBZ files.
application/x-cbz is what I used in the activity.info file.

Thanks,
Sayamindu

-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]


More information about the Sugar-devel mailing list