How to create a new MIME type for a Sugar activity?
James Simmons
jim.simmons at walgreens.com
Wed Feb 6 10:46:18 EST 2008
Carl,
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.
Thanks,
James Simmons
Carl-Daniel Hailfinger wrote:
>On 04.02.2008 18:21, James Simmons wrote:
>
>
>>To accomplish this I have created my Zip files with the extension
>>".slides" and I'd like to be able to use the MIME type
>>"application/slides" for such files.
>>
>>I'm also interested in creating a reader program for Gutenberg etexts.
>>I'd like these files to have their own MIME type too so they don't get
>>opened by the Write activity by mistake. I was thinking of using a file
>>suffix of ".book" and a MIME type of "text/book" for these.
>>
>>I'd appreciate any information on MIME types
>>
>>
>>
>
>Sorry, you can't just invent a MIME media type. There are a few RFCs for
>MIME media types which specify how your media type has to be named and
>how to apply for an IANA registration. More info can be found at
>http://www.iana.org/assignments/media-types/ . There also is a
>specification how unofficial MIME media types have to look like in case
>you don't want to register them.
>
>Regards,
>Carl-Daniel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080206/875b28c1/attachment.html>
More information about the Devel
mailing list