Re: Markdown MIME type?

2008-02-10 Thread Allan Odgaard

On 7 Feb 2008, at 00:53, Thomas Nichols wrote:

[...] Of course, this argument is moot if there's no interest in  
having browsers handle markdown intelligently [...]


Browsers are not the only applications using mime-types, and I do see  
other mime-type-using applications benefit from a Markdown mime-type.


___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss


Re: Markdown MIME type?

2008-02-06 Thread John Gruber

On Feb 3, 2008, at 2:46 PM, Aristotle Pagaltzis wrote:


Regrettably, there still isn’t one registered for Markdown. If my
reading of [RFC 4288] is correct, John shouldn’t have any trouble
registering eg. `text/vnd.daringfireball.markdown` using the
application form at http://www.iana.org/cgi-bin/mediatypes.pl.
(Most of the “mandatory” fields in that form apply only to MIME
types registered in the standards tree, not the vendor tree.)


I'm willing to do this, but I don't think I'm familiar enough with the  
associated RFCs to fill out the form accurately.


Here's the thing, though: (a) To my eyes, text/x-markdown looks a  
lot better than text/vnd.daringfireball.markdown; and (b) I don't  
have to do a damn thing for text/x-markdown.


What exactly would be the practical benefits over just using text/x- 
markdown?


-J.G.

___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss


Re: Markdown MIME type?

2008-02-04 Thread Aristotle Pagaltzis
* Thomas Nichols [EMAIL PROTECTED] [2008-02-04 14:10]:
 When this came up on the list before I think there was a
 consensus that `text/x-markdown` is usable -- possibly with a
 URI to identify the Markdown syntax used.

 Did I understand that correctly?

Yes, you did. Using a type with a subtype starting with `x-` is
permissible, and in absence of a registered MIME type, the only
thing that third parties can do.

Note [RFC 4288, section 3.4][1], though:

However, with the simplified registration procedures
described above for vendor and personal trees, it
should rarely, if ever, be necessary to use unregistered
experimental types. Therefore, use of both x- and x.
forms is discouraged.

[1]: http://tools.ietf.org/html/rfc4288#section-3.4

Regards,
-- 
Aristotle Pagaltzis // http://plasmasturm.org/
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss


Re: Markdown MIME type?

2008-02-04 Thread Thomas Nichols



Aristotle Pagaltzis wrote on 2008/02/04 13:44:

* Thomas Nichols [EMAIL PROTECTED] [2008-02-04 14:10]:
  

When this came up on the list before I think there was a
consensus that `text/x-markdown` is usable -- possibly with a
URI to identify the Markdown syntax used.

Did I understand that correctly?



Yes, you did. Using a type with a subtype starting with `x-` is
permissible, and in absence of a registered MIME type, the only
thing that third parties can do.

Note [RFCÂ 4288, section 3.4][1], though:

However, with the simplified registration procedures
described above for vendor and personal trees, it
should rarely, if ever, be necessary to use unregistered
experimental types. Therefore, use of both x- and x.
forms is discouraged.

[1]: http://tools.ietf.org/html/rfc4288#section-3.4

Regards,
  


Yup, I remembered that -- their definition of simplified may differ from 
mine ;-)


This from Sam Angove is informative: 
http://six.pairlist.net/pipermail/markdown-discuss/2007-June/000646.html


Andrea Censi confirmed that [Maruku documents could be identified by 
profiles][] and use:


text/x-markdown; profile=http://maruku.org/syntax/#ver;

though there was some ensuing discussion about the legitimacy of 
fragment identifiers for this purpose (or at least of parsing them, 
instead of considering the URIs to be opaque).


If we could reach consensus about mime-type / profile, we could perhaps 
submit them to Mozilla/Opera as recognised types to be rendered as 
text/plain if no helper is installed?


[Maruku documents could be identified by profiles]: 
http://six.pairlist.net/pipermail/markdown-discuss/2007-June/000661.html



-- Thomas.

___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss


Re: Markdown MIME type?

2008-02-03 Thread Aristotle Pagaltzis
* Petite Abeille [EMAIL PROTECTED] [2008-02-03 17:55]:
 What MIME type do people use for Markdown?

Regrettably, there still isn’t one registered for Markdown. If my
reading of [RFC 4288] is correct, John shouldn’t have any trouble
registering eg. `text/vnd.daringfireball.markdown` using the
application form at http://www.iana.org/cgi-bin/mediatypes.pl.
(Most of the “mandatory” fields in that form apply only to MIME
types registered in the standards tree, not the vendor tree.)

Hint hint, nudge nudge.

[RFC 4288]: http://tools.ietf.org/html/rfc4288

 text/markdown?
 text/plain?

 Suggestions?

I end up using `text/plain` most of the time because browsers
throw up a download box whenever they encounter an unknown MIME
type, even though [RFC 2046] explicitly says they should treat
any unknown `text/*` MIME type as `text/plain`.

[RFC 2046]: http://tools.ietf.org/html/rfc2046

Regards,
-- 
Aristotle Pagaltzis // http://plasmasturm.org/
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss