|
From: Chris W. <la...@us...> - 2001-10-26 21:09:07
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/data
In directory usw-pr-cvs1:/tmp/cvs-serv7096/data
Added Files:
content_types.dat
Log Message:
added data structure, startup data, lookup table action, object
definition and simple class method for keeping track of content types
--- NEW FILE: content_types.dat ---
$content = [
{ spops_class => 'OpenInteract::ContentType',
field_order => [ qw/ mime_type extensions description / ] },
[ 'application/mac-binhex40', 'hqx', 'Macintosh BinHex archive' ],
[ 'application/msword', 'doc', 'Microsoft Word Document' ],
[ 'application/pdf', 'pdf', 'Adobe Acrobat Portable Document Format' ],
[ 'application/octet-stream', 'bin dms lha lzh exe class', 'Executable File' ],
[ 'application/postscript', 'ai eps ps', 'Postscript' ],
[ 'application/vnd.ms-excel', 'xls', 'Microsoft Excel Spreadsheet' ],
[ 'application/vnd.ms-powerpoint', 'ppt', 'Microsoft Powerpoint Presentation' ],
[ 'application/vnd.visio', 'vsd', 'Visio diagram' ],
[ 'application/wordperfect5.1', 'wpd', 'WordPerfect document' ],
[ 'application/x-gzip', 'gz', 'Gzip archive' ],
[ 'application/x-javascript', 'js', 'Javascript sourcecode' ],
[ 'application/x-perl', 'pl pm', 'Perl sourcecode' ],
[ 'application/x-shockwave-flash', 'swf', 'Flash program' ],
[ 'application/x-tar', 'tar', 'Tar archive' ],
[ 'application/x-tcl', 'tcl', 'TCL sourcecode' ],
[ 'application/zip', 'zip', 'PKZip archive' ],
[ 'audio/basic', 'au snd', 'Basic sound' ],
[ 'audio/mpeg', 'mpga mp2 mp3', 'MPEG sound' ],
[ 'audio/x-aiff', 'aif aiff aifc', 'Basic sound' ],
[ 'audio/x-pn-realaudio', 'ram rm', 'RealAudio ' ],
[ 'image/bmp', 'bmp', 'Bitmap image' ],
[ 'image/gif', 'gif', 'GIF image' ],
[ 'image/jpeg', 'jpeg jpg jpe', 'JPEG image' ],
[ 'image/png', 'png', 'Portable Network Graphics image' ],
[ 'image/tiff', 'tiff tif', 'TIFF image' ],
[ 'message/rfc822', 'msg', 'Email message' ],
[ 'model/vrml', 'wrl vrml', 'Virtual reality document' ],
[ 'text/css', 'css', 'Cascading stylesheet' ],
[ 'text/html', 'html htm', 'HTML document' ],
[ 'text/plain', 'asc txt', 'Plain text document' ],
[ 'text/rtf', 'rtf', 'Rich text document' ],
[ 'text/sgml', 'sgml sgm', 'SGML document' ],
[ 'text/vnd.wap.wml', 'wml', 'Wireless document' ],
[ 'text/vnd.wap.wmlscript', 'wmls', 'Wireless script' ],
[ 'text/xml', 'xml', 'XML document' ],
[ 'video/mpeg', 'mpeg mpg mpe', 'MPEG video' ],
[ 'video/quicktime', 'qt mov', 'Quicktime video' ],
[ 'video/x-msvideo', 'avi', 'Microsoft video' ],
];
|