Re: MIME type for PDB files.
Le Tue, Jan 15, 2008 at 12:08:35PM +0100, Daniel Leidert a écrit :
>
> What should be necessary?
To check for the presence of words other than `HEADER' in the first line
of pdb files.
> I would suggest or recommend chemical-mime-data. It also contains (as
> of version 0.1.95 IIRC) detection routines for KDE3 and
> libmagic/mod_mime_magic.
I am not against, but I would like to read the opinion of other persons
about this. Basically the error messages wipe the whole screen whenever
a pacakage installs new mime types.
Maybe a solution would be to patch update-mime-database to make it
accept chemical as a legitimate type:
--- update-mime-database.c.old 2008-01-15 20:25:19.000000000 +0900
+++ update-mime-database.c 2008-01-15 20:25:43.000000000 +0900
@@ -54,6 +54,7 @@
"model",
"multipart",
"x-epoc",
+ "chemical",
};
/* Represents a MIME type */
However, I do not know if it would have side effects…
> Most servers I know send .pdb files as chemical/x-pdb and not text/x-pdb
Good to know, I was wondering how widespread the chemical/* types are.
> No, here I really recommend to stay with the historic name. I told you
> to not *create* new chemical/* MIME types (exception may be possible for
> "real" chemical file types, that are not application specific), not to
> rename existing ones. The latter will only create more confusion.
OK.
Are there plans to re-propose a RFC or to make the proposal evolve ? Because if
no new types are created, it will be difficult to argue for the adoption of
chemical/* as a standard.
Have a nice day,
--
Charles
Reply to: