[Sugar-devel] activities using zip files (was: Re: [IAEP] Journal criticism)

Walter Bender walter.bender at gmail.com
Fri May 29 07:50:21 EDT 2009


On Fri, May 29, 2009 at 7:32 AM, Tomeu Vizoso <tomeu at sugarlabs.org> wrote:
[snip]
> 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.
>

Is there an example of what this should look like and where in the
bundle it should go?

The closest I was able to find I found this example in ClassroomPresenter.

ClassroomPresenter.activity/activity/mimetypes.xml

<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
	<mime-type type="application/x-classroompresenter">
		<comment>Classroom Presenter Slide Deck</comment>
		<glob pattern="*.cpxo"/>
	</mime-type>
</mime-info>

-walter

--
Walter Bender
Sugar Labs
http://www.sugarlabs.org


More information about the Sugar-devel mailing list