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 saved files? #173

Open
petterreinholdtsen opened this issue Nov 30, 2020 · 9 comments
Open

MIME type for saved files? #173

petterreinholdtsen opened this issue Nov 30, 2020 · 9 comments

Comments

@petterreinholdtsen
Copy link

Hi. For a GUI file browser on Linux to be able to open the saved files from openmotor, their MIME type need to be listed in the programs desktop file. The mime type should be as specific as possible, and it is an advantage for correctly identifying the files as openmotor files that the magic database of the file(1) tool is able to identify openmotor files as files with this MIME type.

Is there a MIME type identified for use with openmotor?

@reilleya
Copy link
Owner

reilleya commented Dec 4, 2020

No MIME type currently. The files have the extension .ric and contain YAML data. Is that specific enough to make one?

@quigleyj97
Copy link
Contributor

quigleyj97 commented Dec 4, 2020 via email

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Dec 4, 2020 via email

@petterreinholdtsen
Copy link
Author

So, anyone willing to decide on a MIME type and stick to it as the official one?

@petterreinholdtsen
Copy link
Author

No one chimed in, so I guess no-one care. I thus make random decisions to move this forward. I am implementing application/vnd.openmotor+yaml in the Debian package as the MIME type for OpenMotor .ric files, as a subtype of application/x-yaml.

@petterreinholdtsen
Copy link
Author

https://salsa.debian.org/debian/openmotor/-/commit/a60cc434c7d969782fccba00e4f6a7ae018d14a6 and https://salsa.debian.org/debian/openmotor/-/commit/e014c6cd2e9d09cf8d1b38c4b37603247c56a29b add a /usr/lib/mime/packages/openmotor and /usr/share/mime/packages/openmotor.xml to make sure Linux desktop file browsers understand that *.ric files should be handled by openmotor.

@reilleya
Copy link
Owner

reilleya commented Feb 2, 2021

Thank you Petter! I haven't given this project the time it deserves in a while, but I'm happy progress is being made. I hope to finish v0.5.0 before too long.

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Feb 2, 2021 via email

@petterreinholdtsen
Copy link
Author

Hi. Did you have time to look at this the last year?

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

3 participants