Browse Source

Added Chemical MimeTypes to MimeDetect class.

pull/505/head
MorganDawe 11 years ago
parent
commit
1ff1b45dec
  1. 35
      includes/mime_detect.inc

35
includes/mime_detect.inc

@ -184,6 +184,41 @@ class MimeDetect {
"ogg" => "audio/ogg",
"flac" => "audio/x-flac",
"wav" => "audio/vnd.wave",
// Chemical:
// MDL Molfile.
"mol" => "chemical/x-mdl-molfile",
// XYZ format.
"xyz" => "chemical/x-xyz",
// PDB.
"pdb" => "chemical/x-pdb",
// ChemDraw 3D.
"c3d"=>"chemical/x-chem3d",
// ChemDraw file.
"chm" =>"chemical/x-chemdraw",
// Crystallographic Information File.
"cif" =>"chemical/x-cif",
// Chemical Markup Language.
"cml" =>"chemical/x-cml",
// GAMESS Input.
"inp" =>"chemical/x-gamess-input",
// GAMESS Output.
"gam" =>"chemical/x-gamess-input",
// General output file.
"out"=>"application/octet-stream",
//Gaussian Cube.
"cub" =>"chemical/x-gaussian-cube",
// Gaussian 98/03 Cartesian Input.
"gau" =>"chemical/x-gaussian-input",
// Corel Multimedia Manager v6 Album.
"gal" =>"application/octet-stream",
// JCAMP Spectroscopic Data Exchange Format.
"jdx" =>"chemical/x-jcamp-dx",
// OpenDX Grid.
"dx" =>"chemical/x-jcamp-dx",
// MOPAC Cartesian.
"mop" =>"chemical/x-mopac-input",
// General Input File.
"in" =>"application/octet-stream",
// Compressed formats:
// (note: http://svn.cleancode.org/svn/email/trunk/mime.types)
"tgz" => "application/x-gzip",

Loading…
Cancel
Save