[Sugar-devel] activities using zip files (was: Re: [IAEP] Journal criticism)
Tomeu Vizoso
tomeu at sugarlabs.org
Fri May 29 08:15:31 EDT 2009
On Fri, May 29, 2009 at 13:50, Walter Bender <walter.bender at gmail.com> wrote:
> 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>
More information about the Sugar-devel
mailing list