X-Git-Url: http://git.cyclocoop.org/?p=velocampus%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Fbase%2Ftypedoc.php;fp=www%2Fecrire%2Fbase%2Ftypedoc.php;h=d4bce36ec0f2bca18617bfe49a39150a691609c3;hp=e505a04382c84ae1571020ae563fb98cebbf81be;hb=e99f0878011913365e49b30d90e496c24c301393;hpb=80b4d3e85f78d402ed2e73f8f5d1bf4c19962eed diff --git a/www/ecrire/base/typedoc.php b/www/ecrire/base/typedoc.php index e505a04..d4bce36 100644 --- a/www/ecrire/base/typedoc.php +++ b/www/ecrire/base/typedoc.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2011 * + * Copyright (c) 2001-2014 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -30,8 +30,13 @@ $tables_images = array( // Multimedia (peuvent utiliser le tag ) $tables_sequences = array( + 'aac' => 'Advanced Audio Coding', + 'ac3' => 'AC-3 Compressed Audio', + 'aifc' => 'Compressed AIFF Audio', 'aiff' => 'AIFF', + 'amr' => 'Adaptive Multi-Rate Audio', 'anx' => 'Annodex', + 'ape' => 'Monkey\'s Audio File', 'axa' => 'Annodex Audio', 'axv' => 'Annodex Video', 'asf' => 'Windows Media', @@ -43,6 +48,9 @@ $tables_sequences = array( 'f4v' => 'Video for Adobe Flash Player', 'flac' => 'Free Lossless Audio Codec', 'flv' => 'Flash Video', + 'm2p' => 'MPEG-PS', + 'm2ts' => 'BDAV MPEG-2 Transport Stream', + 'm4r' => 'iPhone Ringtone', 'm4v' => 'MPEG4 Video', 'm4a' => 'MPEG4 Audio', 'm4b' => 'MPEG4 Audio', @@ -56,6 +64,7 @@ $tables_sequences = array( 'mp4' => 'MPEG4', 'mpc' => 'Musepack', 'mpg' => 'MPEG', + 'mts' => 'AVCHD MPEG-2 transport stream', 'oga' => 'Ogg Audio', 'ogg' => 'Ogg Vorbis', 'ogv' => 'Ogg Video', @@ -66,46 +75,75 @@ $tables_sequences = array( 'rm' => 'RealAudio', 'spx' => 'Ogg Speex', 'svg' => 'Scalable Vector Graphics', + 'svgz' => 'Compressed Scalable Vector Graphic', 'swf' => 'Flash', + 'ts' => 'MPEG transport stream', 'wav' => 'WAV', 'webm' => 'WebM', - 'wmv' => 'Windows Media', + 'wma' => 'Windows Media Audio', + 'wmv' => 'Windows Media Video', + 'y4m' => 'YUV4MPEG2', + '3ga' => '3GP Audio File', '3gp' => '3rd Generation Partnership Project' ); // Documents varies $tables_documents = array( + '7z' => '7 Zip', 'abw' => 'Abiword', 'ai' => 'Adobe Illustrator', + 'asx' => 'Advanced Stream Redirector', + 'bib' => 'BibTeX', 'bz2' => 'BZip', 'bin' => 'Binary Data', 'blend' => 'Blender', 'c' => 'C source', 'cls' => 'LaTeX Class', + 'csl' => 'Citation Style Language', 'css' => 'Cascading Style Sheet', 'csv' => 'Comma Separated Values', 'deb' => 'Debian', 'doc' => 'Word', + 'dot' => 'Word Template', 'djvu' => 'DjVu', 'dvi' => 'LaTeX DVI', + 'emf' => 'Enhanced Metafile', + 'enl' => 'EndNote Library', + 'ens' => 'EndNote Style', + 'epub' => 'ePub', 'eps' => 'PostScript', + 'gpx' => 'GPS eXchange Format', 'gz' => 'GZ', 'h' => 'C header', 'html' => 'HTML', + 'jar' => 'Java Archive', 'kml' => 'Keyhole Markup Language', 'kmz' => 'Google Earth Placemark File', - 'm4u' => 'MPEG4 playliste', + 'lyx' => 'Lyx file', + 'mathml' => 'MathML', + 'm3u' => 'M3U Playlist', + 'm3u8' => 'M3U8 Playlist', + 'm4u' => 'MPEG4 Playlist', 'pas' => 'Pascal', 'pdf' => 'PDF', 'pgn' => 'Portable Game Notation', + 'pls' => 'Playlist', + 'pot' => 'PowerPoint Template', 'ppt' => 'PowerPoint', 'ps' => 'PostScript', 'psd' => 'Photoshop', + 'rar' => 'WinRAR', + 'rdf' => 'Resource Description Framework', + 'ris' => 'RIS', 'rpm' => 'RedHat/Mandrake/SuSE', 'rtf' => 'RTF', - 'sdd' => 'StarOffice', - 'sdw' => 'StarOffice', + 'sdc' => 'StarOffice Spreadsheet', + 'sdd' => 'StarOffice Presentation', + 'sdw' => 'StarOffice Writer document', 'sit' => 'Stuffit', + 'sla' => 'Scribus', + 'srt' => 'SubRip Subtitle', + 'ssa' => 'SubStation Alpha Subtitle', 'sty' => 'LaTeX Style Sheet', 'sxc' => 'OpenOffice.org Calc', 'sxi' => 'OpenOffice.org Impress', @@ -115,10 +153,15 @@ $tables_documents = array( 'torrent' => 'BitTorrent', 'ttf' => 'TTF Font', 'txt' => 'texte', + 'usf' => 'Universal Subtitle Format', 'xcf' => 'GIMP multi-layer', 'xspf' => 'XSPF', 'xls' => 'Excel', + 'xlt' => 'Excel Template', 'xml' => 'XML', + 'wmf' => 'Windows Metafile', + 'wpl' => 'Windows Media Player Playlist', + 'yaml' => 'YAML', 'zip' => 'Zip', // open document format @@ -169,7 +212,12 @@ $tables_mime = array( 'tif' => 'image/tiff', // Multimedia (peuvent utiliser le tag ) + 'aac' => 'audio/mp4a-latm', + 'ac3' => 'audio/x-aac', + 'aifc' => 'audio/x-aifc', 'aiff' => 'audio/x-aiff', + 'amr' => 'audio/amr', + 'ape' => 'audio/x-monkeys-audio', 'asf' => 'video/x-ms-asf', 'avi' => 'video/x-msvideo', 'anx' => 'application/annodex', @@ -182,9 +230,12 @@ $tables_mime = array( 'f4v' => 'video/mp4', 'flac' => 'audio/x-flac', 'flv' => 'video/x-flv', + 'm2p' => 'video/MP2P', + 'm2ts' => 'video/MP2T', 'm4a' => 'audio/mp4a-latm', 'm4b' => 'audio/mp4a-latm', 'm4p' => 'audio/mp4a-latm', + 'm4r' => 'audio/aac', 'm4u' => 'video/vnd.mpegurl', 'm4v' => 'video/x-m4v', 'mid' => 'audio/midi', @@ -195,6 +246,7 @@ $tables_mime = array( 'mp3' => 'audio/mpeg', 'mp4' => 'application/mp4', 'mpc' => 'audio/x-musepack', + 'mts' => 'video/MP2T', 'mpg' => 'video/mpeg', 'oga' => 'audio/ogg', 'ogg' => 'audio/ogg', @@ -206,42 +258,71 @@ $tables_mime = array( 'rm' => 'audio/x-pn-realaudio', 'spx' => 'audio/ogg', 'svg' => 'image/svg+xml', + 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', + 'ts' => 'video/MP2T', 'wav' => 'audio/x-wav', 'webm' => 'video/webm', + 'wma' => 'audio/x-ms-wma', 'wmv' => 'video/x-ms-wmv', + 'y4m' => 'video/x-raw-yuv', + '3ga' => 'audio/3ga', '3gp' => 'video/3gpp', // Documents varies + '7z' => 'application/x-7z-compressed', 'ai' => 'application/illustrator', 'abw' => 'application/abiword', + 'asx' => 'video/x-ms-asf', + 'bib' => 'application/x-bibtex', 'bin' => 'application/octet-stream', # le tout-venant 'blend' => 'application/x-blender', 'bz2' => 'application/x-bzip2', 'c' => 'text/x-csrc', + 'csl' => 'application/xml', 'css' => 'text/css', 'csv' => 'text/csv', 'deb' => 'application/x-debian-package', 'doc' => 'application/msword', + 'dot' => 'application/msword', 'djvu' => 'image/vnd.djvu', 'dvi' => 'application/x-dvi', + 'emf' => 'image/x-emf', + 'enl' => 'application/octet-stream', + 'ens' => 'application/octet-stream', 'eps' => 'application/postscript', + 'epub' => 'application/epub+zip', // pas enregistre par IANA + 'gpx' => 'application/gpx+xml', // pas enregistre par IANA 'gz' => 'application/x-gzip', 'h' => 'text/x-chdr', 'html' => 'text/html', + 'jar' => 'application/java-archive', 'kml' => 'application/vnd.google-earth.kml+xml', 'kmz' => 'application/vnd.google-earth.kmz', + 'lyx' => 'application/x-lyx', + 'm3u' => 'text/plain', + 'm3u8' => 'text/plain', + 'mathml' => 'application/mathml+xml', 'pas' => 'text/x-pascal', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', - 'ppt' => 'application/vnd.ms-powerpoint', + 'pls' => 'text/plain', + 'ppt' => 'application/vnd.ms-powerpoint', + 'pot' => 'application/vnd.ms-powerpoint', 'ps' => 'application/postscript', 'psd' => 'image/x-photoshop', // pas enregistre par IANA + 'rar' => 'application/x-rar-compressed', + 'rdf' => 'application/rdf+xml', + 'ris' => 'application/x-research-info-systems', 'rpm' => 'application/x-redhat-package-manager', 'rtf' => 'application/rtf', + 'sdc' => 'application/vnd.stardivision.calc', 'sdd' => 'application/vnd.stardivision.impress', 'sdw' => 'application/vnd.stardivision.writer', 'sit' => 'application/x-stuffit', + 'sla' => 'application/x-scribus', + 'srt' => 'text/plain', + 'ssa' => 'text/plain', 'sxc' => 'application/vnd.sun.xml.calc', 'sxi' => 'application/vnd.sun.xml.impress', 'sxw' => 'application/vnd.sun.xml.writer', @@ -250,10 +331,15 @@ $tables_mime = array( 'torrent' => 'application/x-bittorrent', 'ttf' => 'application/x-font-ttf', 'txt' => 'text/plain', + 'usf' => 'application/xml', 'xcf' => 'application/x-xcf', 'xls' => 'application/vnd.ms-excel', + 'xlt' => 'application/vnd.ms-excel', 'xspf' => 'application/xspf+xml', 'xml' => 'application/xml', + 'wmf' => 'image/x-emf', + 'wpl' => 'application/vnd.ms-wpl', + 'yaml' => 'text/yaml', 'zip' => 'application/zip', // Open Document format @@ -304,7 +390,8 @@ $tables_mime = array( 'application/x-ogg' => 'application/ogg', 'video/mp4' => 'application/mp4', 'video/flv' => 'video/x-flv', - 'audio/3gpp' => 'video/3gpp' + 'audio/3gpp' => 'video/3gpp', + 'image/jpg' => 'image/jpeg' ); ?>