[Mediawiki-l] mime types
Michael Daly
michael_daly at kayakwiki.org
Tue Jan 29 23:06:02 UTC 2008
Lane, Ryan wrote:
> Putting:
>
> application/msword doc xls ppt
[...]
> + if ( $e == "xls" ) {
> + $mime= "application/vnd.ms-excel";
> + }
> + if ( $e == "ppt" ) {
> + $mime= "application/vnd.ms-powerpoint";
Just guessing here, but wouldn't it be possible to put something like:
application/msword doc
application/vnd.ms-excel xls
application/vnd.ms-powerpoint ppt
and skip the coding?
Mike
More information about the MediaWiki-l
mailing list