当前位置: 首页 > OpenSource > 正文

mime-mapping 的集合

网页识别文件的类型一般由  mime-mapping 来指定,

下面是一些mime-mapping类型的说明:

<mime-mapping extension=”.html” mime-type=”text/html”/>
  <mime-mapping extension=”.ai” mime-type=”application/postscript”/>
  <mime-mapping extension=”.aif” mime-type=”audio/x-aiff”/>
  <mime-mapping extension=”.aiff” mime-type=”audio/x-aiff”/>
  <mime-mapping extension=”.aifc” mime-type=”audio/x-aiff”/>
  <mime-mapping extension=”.au” mime-type=”audio/basic”/>
  <mime-mapping extension=”.asc” mime-type=”text/plain”/>
  <mime-mapping extension=”.asf” mime-type=”video/x-ms-asf”/>
  <mime-mapping extension=”.asx” mime-type=”video/x-ms-asf”/>
  <mime-mapping extension=”.atom” mime-type=”application/atom+xml”/>
  <mime-mapping extension=”.avi” mime-type=”video/x-msvideo”/>

 … more …

  <mime-mapping extension=”.html” mime-type=”text/html”/>
  <mime-mapping extension=”.ai” mime-type=”application/postscript”/>
  <mime-mapping extension=”.aif” mime-type=”audio/x-aiff”/>
  <mime-mapping extension=”.aiff” mime-type=”audio/x-aiff”/>
  <mime-mapping extension=”.aifc” mime-type=”audio/x-aiff”/>
  <mime-mapping extension=”.au” mime-type=”audio/basic”/>
  <mime-mapping extension=”.asc” mime-type=”text/plain”/>
  <mime-mapping extension=”.asf” mime-type=”video/x-ms-asf”/>
  <mime-mapping extension=”.asx” mime-type=”video/x-ms-asf”/>
  <mime-mapping extension=”.atom” mime-type=”application/atom+xml”/>
  <mime-mapping extension=”.avi” mime-type=”video/x-msvideo”/>
  <mime-mapping extension=”.bin” mime-type=”application/octet-stream”/>
  <mime-mapping extension=”.bcpio” mime-type=”application/x-bcpio”/>
  <mime-mapping extension=”.bmp” mime-type=”image/bmp”/>
  <mime-mapping extension=”.class” mime-type=”application/octet-stream”/>
  <mime-mapping extension=”.cpt” mime-type=”application/mac-compactpro”/>
  <mime-mapping extension=”.css” mime-type=”text/css”/>
  <mime-mapping extension=”.cpio” mime-type=”application/x-cpio”/>
  <mime-mapping extension=”.csh” mime-type=”application/x-csh”/>
  <mime-mapping extension=”.cdf” mime-type=”application/x-netcdf”/>
  <mime-mapping extension=”.dmg” mime-type=”application/octet-stream”/>
  <mime-mapping extension=”.dms” mime-type=”application/octet-stream”/>
  <mime-mapping extension=”.doc” mime-type=”application/msword”/>
  <mime-mapping extension=”.dcr” mime-type=”application/x-director”/>
  <mime-mapping extension=”.dir” mime-type=”application/x-director”/>
  <mime-mapping extension=”.dll” mime-type=”application/x-msdownload”/>
  <mime-mapping extension=”.dxr” mime-type=”application/x-director”/>
  <mime-mapping extension=”.dvi” mime-type=”application/x-dvi”/>
  <mime-mapping extension=”.exe” mime-type=”application/octet-stream”/>
  <mime-mapping extension=”.eps” mime-type=”application/postscript”/>
  <mime-mapping extension=”.etx” mime-type=”text/x-setext”/>
  <mime-mapping extension=”.gram” mime-type=”application/srgs”/>
  <mime-mapping extension=”.grxml” mime-type=”application/srgs+xml”/>
  <mime-mapping extension=”.gtar” mime-type=”application/x-gtar”/>
  <mime-mapping extension=”.gif” mime-type=”image/gif”/>
  <mime-mapping extension=”.gz” mime-type=”application/octet-stream”/>
  <mime-mapping extension=”.hdml” mime-type=”text/x-hdml”/>
  <mime-mapping extension=”.hqx” mime-type=”application/mac-binhex40″/>
  <mime-mapping extension=”.html” mime-type=”text/html”/>
  <mime-mapping extension=”.htm” mime-type=”text/html”/>
  <mime-mapping extension=”.hdf” mime-type=”application/x-hdf”/>
  <mime-mapping extension=”.ief” mime-type=”image/ief”/>
  <mime-mapping extension=”.ice” mime-type=”x-conference/x-cooltalk”/>
  <mime-mapping extension=”.jar” mime-type=”application/java-archive”/>
  <mime-mapping extension=”.jnlp” mime-type=”application/x-java-jnlp-file”/>
  <mime-mapping extension=”.jpeg” mime-type=”image/jpeg”/>
  <mime-mapping extension=”.jpg” mime-type=”image/jpeg”/>
  <mime-mapping extension=”.jpe” mime-type=”image/jpeg”/>
  <mime-mapping extension=”.js” mime-type=”application/x-javascript”/>
  <mime-mapping extension=”.kar” mime-type=”audio/midi”/>
  <mime-mapping extension=”.latex” mime-type=”application/x-latex”/>
  <mime-mapping extension=”.lha” mime-type=”application/octet-stream”/>
  <mime-mapping extension=”.lhz” mime-type=”application/octet-stream”/>
  <mime-mapping extension=”.mathml” mime-type=”application/mathml+xml”/>
  <mime-mapping extension=”.mid” mime-type=”audio/midi”/>
  <mime-mapping extension=”.mif” mime-type=”application/vnd.mif”/>
  <mime-mapping extension=”.mpeg” mime-type=”video/mpeg”/>
  <mime-mapping extension=”.mpg” mime-type=”video/mpeg”/>
  <mime-mapping extension=”.mpe” mime-type=”video/mpeg”/>
  <mime-mapping extension=”.mov” mime-type=”video/quicktime”/>
  <mime-mapping extension=”.movie” mime-type=”video/x-sgi-movie”/>
  <mime-mapping extension=”.mpga” mime-type=”audio/mpeg”/>
  <mime-mapping extension=”.mp2″ mime-type=”audio/mpeg”/>
  <mime-mapping extension=”.mp3″ mime-type=”audio/mpeg”/>
  <mime-mapping extension=”.man” mime-type=”application/x-troff-man”/>
  <mime-mapping extension=”.me” mime-type=”application/x-troff-me”/>
  <mime-mapping extension=”.ms” mime-type=”application/x-troff-ms”/>
  <mime-mapping extension=”.nc” mime-type=”application/x-netcdf”/>
  <mime-mapping extension=”.oda” mime-type=”application/oda”/>
  <mime-mapping extension=”.ogg” mime-type=”application/ogg”/>
  <mime-mapping extension=”.pdf” mime-type=”application/pdf”/>
  <mime-mapping extension=”.ps” mime-type=”application/postscript”/>
  <mime-mapping extension=”.ppt” mime-type=”application/vnd.ms-powerpoint”/>
  <mime-mapping extension=”.png” mime-type=”image/png”/>
  <mime-mapping extension=”.pgn” mime-type=”application/x-chess-pgn”/>
  <mime-mapping extension=”.pnm” mime-type=”image/x-portable-anymap”/>
  <mime-mapping extension=”.pbm” mime-type=”image/x-portable-bitmap”/>
  <mime-mapping extension=”.pgm” mime-type=”image/x-portable-graymap”/>
  <mime-mapping extension=”.ppm” mime-type=”image/x-portable-pixmap”/>
  <mime-mapping extension=”.qt” mime-type=”video/quicktime”/>
  <mime-mapping extension=”.ra” mime-type=”audio/x-realaudio”/>
  <mime-mapping extension=”.ram” mime-type=”audio/x-pn-realaudio”/>
  <mime-mapping extension=”.rdf” mime-type=”application/rdf+xml”/>
  <mime-mapping extension=”.rm” mime-type=”audio/x-pn-realaudio”/>
  <mime-mapping extension=”.rpm” mime-type=”audio/x-pn-realaudio-plugin”/>
  <mime-mapping extension=”.ras” mime-type=”image/x-cmu-raster”/>
  <mime-mapping extension=”.rgb” mime-type=”image/x-rgb”/>
  <mime-mapping extension=”.rtf” mime-type=”application/rtf”/>
  <mime-mapping extension=”.rtx” mime-type=”text/richtext”/>
  <mime-mapping extension=”.rtf” mime-type=”text/rtf”/>
  <mime-mapping extension=”.smi” mime-type=”application/smil”/>
  <mime-mapping extension=”.smil” mime-type=”application/smil”/>
  <mime-mapping extension=”.sml” mime-type=”application/smil”/>
  <mime-mapping extension=”.skp” mime-type=”application/x-koan”/>
  <mime-mapping extension=”.skd” mime-type=”application/x-koan”/>
  <mime-mapping extension=”.skt” mime-type=”application/x-koan”/>
  <mime-mapping extension=”.skm” mime-type=”application/x-koan”/>
  <mime-mapping extension=”.src” mime-type=”application/x-wais-source”/>
  <mime-mapping extension=”.sh” mime-type=”application/x-sh”/>
  <mime-mapping extension=”.shar” mime-type=”application/x-shar”/>
  <mime-mapping extension=”.swf
” mime-type=”application/x-shockwave-flash”/>
  <mime-mapping extension=”.sit” mime-type=”application/x-stuffit”/>
  <mime-mapping extension=”.so” mime-type=”application/octet-stream”/>
  <mime-mapping extension=”.spl” mime-type=”application/x-futuresplash”/>
  <mime-mapping extension=”.sv4cpio” mime-type=”application/x-sv4cpio”/>
  <mime-mapping extension=”.sv4crc” mime-type=”application/x-sv4crc”/>
  <mime-mapping extension=”.snd” mime-type=”audio/basic”/>
  <mime-mapping extension=”.sgml” mime-type=”text/sgml”/>
  <mime-mapping extension=”.sgm” mime-type=”text/sgml”/>

  <mime-mapping extension=”.t” mime-type=”application/x-troff”/>
  <mime-mapping extension=”.tar” mime-type=”application/x-tar”/>
  <mime-mapping extension=”.tcl” mime-type=”application/x-tcl”/>
  <mime-mapping extension=”.tex” mime-type=”application/x-tex”/>
  <mime-mapping extension=”.texi” mime-type=”application/x-texinfo”/>
  <mime-mapping extension=”.texinfo” mime-type=”application/x-texinfo”/>
  <mime-mapping extension=”.tgz” mime-type=”application/octet-stream”/>
  <mime-mapping extension=”.tiff” mime-type=”image/tiff”/>
  <mime-mapping extension=”.tif” mime-type=”image/tiff”/>
  <mime-mapping extension=”.torrent” mime-type=”application/x-bittorrent”/>
  <mime-mapping extension=”.tr” mime-type=”application/x-troff”/>
  <mime-mapping extension=”.troff” mime-type=”application/x-troff”/>
  <mime-mapping extension=”.tsv” mime-type=”text/tab-separated-values”/>
  <mime-mapping extension=”.txt” mime-type=”text/plain”/>

  <mime-mapping extension=”.ustar” mime-type=”application/x-ustar”/>
  <mime-mapping extension=”.vcd” mime-type=”application/x-cdlink”/>
  <mime-mapping extension=”.vrml” mime-type=”model/vrml”/>
  <mime-mapping extension=”.wav” mime-type=”audio/x-wav”/>
  <mime-mapping extension=”.wax” mime-type=”audio/x-ms-wax”/>
  <mime-mapping extension=”.wbmp” mime-type=”image/vnd.wap.wbmp”/>
  <mime-mapping extension=”.wbxml” mime-type=”application/vnd.wap.wbxml”/>
  <mime-mapping extension=”.wrl” mime-type=”model/vrml”/>
  <mime-mapping extension=”.wm” mime-type=”audio/x-ms-wm”/>
  <mime-mapping extension=”.wma” mime-type=”audio/x-ms-wma”/>
  <mime-mapping extension=”.wmd” mime-type=”application/x-ms-wmd”/>
  <mime-mapping extension=”.wmz” mime-type=”application/x-ms-wmz”/>
  <mime-mapping extension=”.wml” mime-type=”text/vnd.wap.wml”/>
  <mime-mapping extension=”.wmls” mime-type=”text/vnd.wap.wmlscript”/>
  <mime-mapping extension=”.wmlc” mime-type=”application/vnd.wap.wmlc”/>
  <mime-mapping extension=”.wmlsc” mime-type=”application/vnd.wap.wmlscript”/>
  <mime-mapping extension=”.wmv” mime-type=”audio/x-ms-wmv”/>
  <mime-mapping extension=”.wvx” mime-type=”video/x-ms-wvx”/>
  <mime-mapping extension=”.xls” mime-type=”application/vnd.ms-excel”/>
  <mime-mapping extension=”.xbm” mime-type=”image/x-xbitmap”/>
  <mime-mapping extension=”.xml” mime-type=”text/xml”/>
  <mime-mapping extension=”.xpm” mime-type=”image/x-xpixmax”/>
  <mime-mapping extension=”.xsl” mime-type=”text/xml”/>
  <mime-mapping extension=”.xwd” mime-type=”image/x-xwindowdump”/>
  <mime-mapping extension=”.zip” mime-type=”application/zip”/>
  <mime-mapping extension=”.z” mime-type=”application/octet-stream”/>

本文固定链接: http://2hei.net/mime-mapping.html | 2hei's site

该日志由 2hei 于2008年01月17日发表在 OpenSource 分类下,
原创文章转载请注明: mime-mapping 的集合 | 2hei's site

报歉!评论已关闭.