Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mime type for Fountain? #47

Open
erikh2000 opened this issue Mar 4, 2023 · 2 comments
Open

Mime type for Fountain? #47

erikh2000 opened this issue Mar 4, 2023 · 2 comments

Comments

@erikh2000
Copy link

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.

@erikh2000
Copy link
Author

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.

@shaedrich
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants