<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Aug 14, 2014 at 2:20 PM, Thomas Kluyver <span dir="ltr"><<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>In the dev meeting, we discussed what the mime type should be for IPython notebook files. The people in the meeting preferred <span><b>application/x-ipynb+json</b></span><span> (we also considered application/x-jupyter-notebook+json, and both of those without the +json suffix). Looking at the official mime type registry [1], +json and +xml are common suffixes to indicate container formats.<br>


<br></span></div><span>Does anyone want to argue for a different mime type before we declare application/x-ipynb+json the victor?<br></span></div></blockquote><div><br></div><div>Before you  wrote this, I would have guessed that the filename extensions on notebooks would probably be changed to something more generic. Thinking that you are going to also attach those 5 letters to the mime-type makes me wonder. So, let me make a couple of points, and try to sway y'all in a more generic naming scheme.</div>
<div><br></div><div>An aside, I think you could leave the +json off. The container indication is useful on svg+xml to remind people that it is an image, and also xml. Thus, many browsers can handle it directly. I don't think it makes sense on a general format, unless you are considering adding application/...+xml (or some other container format) at some point, too. Knowing that a format is json doesn't get you much.</div>
<div><br></div><div>Jupyter will soon be the name that represents the big picture. Why wouldn't the mime-type also represent the big picture? Also, there isn't any other Jupyter file format, so why not just make it application/x-jupyter ? As for file extension, consider the big picture, too. Maybe: .jnb, .jup, or even .jupyter.</div>
<div><br></div><div>Anyway, thanks for asking for arguments; always willing to oblige :)</div><div><br></div><div>-Doug</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><span></span><div><span><br>1 <a href="http://www.iana.org/form/media-types" target="_blank">http://www.iana.org/form/media-types</a><br>

<br></span></div><div><span>Thanks,<br></span></div><div><span>Thomas<br></span></div></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div></div>