nyousefi / Fountain

An open source implementation of the Fountain screenplay formatting language.

Home Page:http://fountain.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mime type for Fountain?

erikh2000 opened this issue · comments

Is there a MIME type that is recommended to use for Fountain?

E.g. "text/vnd.fountain" ?

BTW, I'm a big fan of Fountain and have used it in a couple of open source projects.

Alright, I suspect that there is no MIME type for Fountain yet. I propose: text/vnd.fountain

My rationale is as follows:

  • Similar formats like Markdown (text/markdown) use the "text/*" pattern.
  • Fountain is not approved by a standards body, so "text/fountain" wouldn't be right.
  • Since it's publicly available and beyond experimental, the personal ("prs") tree doesn't fit, e.g. "text/prs.fountain".
  • The vendor/organization tree matches pretty well. There is no organization name for the group that released Fountain, so using "text/vnd.orgname.fountain" doesn't work. But there are some examples of other "vnd." mimetypes that don't include an organization name.

Reference: https://en.wikipedia.org/wiki/Media_type#Vendor_tree

Someone might think, "yeah, dude, just do what you want." But it takes just a small amount of effort to agree on a mime type, and it can lead to better interoperability between softwares that use Fountain.

What about text/vnd.fountain+markdown by using "markdown" as a suffix to denote what it's a sub type of?