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

James Simmons jim.simmons at walgreens.com
Wed Feb 6 11:34:55 EST 2008


Carl,

If I can get this working I'll definitely use a MIME type like 
activity/x-slide-activity.  I want to distribute this activity when its 
finished.

Thanks,

James Simmons

Carl-Daniel Hailfinger wrote:

>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
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080206/28e68567/attachment.html>


More information about the Devel mailing list