How to create a new MIME type for a Sugar activity?

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Wed Feb 6 11:21:37 EST 2008


Hi James,

On 06.02.2008 16:46, James Simmons wrote:
> I agree I have no business inventing my own MIME type.  What I really
> want is a file suffix association like I can do with Windows or
> Midnight Commander on Linux.  The MIME type of application/zip works,
> but Etoys is using that one too.  I need a way for Zip files using the
> .slides suffix to be opened by my Activity by default.  Unfortunately,
> the files by their nature must be created by a program other than the
> Activity.  Any suggestions would be welcomed.

What about using the "application/x-*" scheme? IIRC that is the way to
handle unofficial assignments. An example would be
application/x-sugar-activity-slide or somesuch.


Regards,
Carl-Daniel



More information about the Devel mailing list