LDraw MIME types - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: General (https://forums.ldraw.org/forum-12.html) +--- Forum: Official File Specifications/Standards (https://forums.ldraw.org/forum-32.html) +--- Thread: LDraw MIME types (/thread-17067.html) |
LDraw MIME types - Roland Melkert - 2015-08-14 I noticed LDraw hasn't have very 'official' mimetypes yet. It's only mentioned on a page from the old site: http://www.ldraw.org/reference/specs/mimetypes.shtml And the mpd one is different from the one the Linux version of LDView defines. This while the LDView package (I assume) is more common then the suggested Apache settings. I think we sould therefore make the LDView ones official and maybe add one for the dat's although .dat is a very commen extension. This gives: ldr -> "application/x-ldraw" mpd -> "application/x-multipart-ldraw" Or should we go with a single mime type e.g. "text/x-ldraw" as the extension alone does not determine the nature of a LDraw file anyway. This would break the LDView packages though but I think it's the only software out there using it at the moment. edit: Might be better to go just with "application/x-ldraw" for all extensions and 'depreciate' the "application/x-multipart-ldraw" one. Re: LDraw MIME types - Orion Pobursky - 2015-08-17 Can you point me to a reason for needing these? Otherwise, I agree with your edit comment. Re: LDraw MIME types - Roland Melkert - 2015-08-17 Orion Pobursky Wrote:Can you point me to a reason for needing these?I think it should be part of http://www.ldraw.org/article/218.html in order to make sure all software uses/supports the same type. One big reason is the webserver onel. For example: try to open a mpd link, it will open in a new tab on most sites. With a valid mime type it would offer to download / can be opened with etc. And on Linux mime types are used for application association so there it is especially important all programs are aware of the same string. Re: LDraw MIME types - Milan VanĨura - 2015-08-20 Roland Melkert Wrote:edit: Might be better to go just with "application/x-ldraw" for all extensions and 'depreciate' the "application/x-multipart-ldraw" one. I support this. I do not know about any usecase when it makes sense to set different utilities for working with .ldr and .mpd. Then, having two MIME types means only one thing: we'd need to double everything (every setting) with no added value. Re: LDraw MIME types - Steffen - 2015-08-27 I also agree with that 'edit' suggestion Re: LDraw MIME types - Michael Heidemann - 2015-11-21 Is there anybody that can incorporate this to the documents? Do we need to address this to the LSB? |