update proposal for /inc/popoon/helpers/mimetypes.php

florent Claude <[email protected]> Thu, 18 Mar 2010 10:53:24 +0100
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------050108050606090300050803
Content-Type: multipart/alternative;
 boundary="------------010502070602090001010803"


--------------010502070602090001010803
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

same proposal as just before but with differences as attachement ;-)


> It could be useful to add flv & f4v mime-types in=20
> /inc/popoon/helpers/mimetypes.php
> What do you think?
>
>> Index: /home/florent/Dropbox/eZoulou=20
>> Atelier/sandbox.ezoulou.be/public/inc/popoon/helpers/mimetypes.php
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> --- /home/florent/Dropbox/eZoulou=20
>> Atelier/sandbox.ezoulou.be/public/inc/popoon/helpers/mimetypes.php  =20
>>  (r=C3=A9vision 13158)
>> +++ /home/florent/Dropbox/eZoulou=20
>> Atelier/sandbox.ezoulou.be/public/inc/popoon/helpers/mimetypes.php  =20
>>  (copie de travail)
>> @@ -17,6 +17,10 @@
>>              return "image/jpeg";
>>              case "png":
>>              return "image/png";
>> +            case "flv":
>> +            return "video/x-flv";
>> +            case "f4v":
>> +            return "video/mp4";
>>              case "css":
>>              return "text/css";
>>              case "xml":
>> @@ -79,3 +83,4 @@
>>      }
>>
>>  }
>> +
>
> --=20
> florent Claude, cr=C3=A9ation de sites web ouverts. + d'infos sur=20
> eZoulou.be <http://eZoulou.be>


--------------010502070602090001010803
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8=
">
</head>
<body text=3D"#000000" bgcolor=3D"#ffffff">
same proposal as just before but with differences as attachement ;-)<br>
<br>
<br>
<blockquote type=3D"cite">It could be useful to add flv &amp; f4v
mime-types in
/inc/popoon/helpers/mimetypes.php<br>
What do you think? <br>
  <br>
  <blockquote type=3D"cite">Index: /home/florent/Dropbox/eZoulou
Atelier/sandbox.ezoulou.be/public/inc/popoon/helpers/mimetypes.php<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
--- /home/florent/Dropbox/eZoulou
Atelier/sandbox.ezoulou.be/public/inc/popoon/helpers/mimetypes.php=C2=A0=C2=
=A0
=C2=A0(r=C3=A9vision 13158)<br>
+++ /home/florent/Dropbox/eZoulou
Atelier/sandbox.ezoulou.be/public/inc/popoon/helpers/mimetypes.php=C2=A0=C2=
=A0
=C2=A0(copie de travail)<br>
@@ -17,6 +17,10 @@<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
return "image/jpeg";<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
case "png":<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
return "image/png";<br>
+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 case =
"flv":<br>
+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 retur=
n "video/x-flv";<br>
+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 case =
"f4v":<br>
+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 retur=
n "video/mp4";<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
case "css":<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
return "text/css";<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
case "xml":<br>
@@ -79,3 +83,4 @@<br>
=C2=A0=C2=A0=C2=A0=C2=A0 }<br>
=C2=A0<br>
=C2=A0}<br>
+</blockquote>
  <br>
  <div class=3D"moz-signature">-- <br>
florent Claude, cr=C3=A9ation de sites web ouverts. + d'infos sur <a
 href=3D"http://eZoulou.be"
 title=3D"cliquez pour visiter le fabuleux site eZoulou.be">eZoulou.be</a=
></div>
</blockquote>
<br>
</body>
</html>

--------------010502070602090001010803--

--------------050108050606090300050803
Content-Type: text/x-patch;
 name="mimetypes.php.diff"
Content-Disposition: attachment;
 filename="mimetypes.php.diff"
Content-Transfer-Encoding: quoted-printable

Index: /home/florent/Dropbox/eZoulou Atelier/sandbox.ezoulou.be/public/in=
c/popoon/helpers/mimetypes.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- /home/florent/Dropbox/eZoulou Atelier/sandbox.ezoulou.be/public/inc/p=
opoon/helpers/mimetypes.php	(r=C3=A9vision 13158)
+++ /home/florent/Dropbox/eZoulou Atelier/sandbox.ezoulou.be/public/inc/p=
opoon/helpers/mimetypes.php	(copie de travail)
@@ -17,6 +17,10 @@
             return "image/jpeg";
             case "png":
             return "image/png";
+            case "flv":
+            return "video/x-flv";
+            case "f4v":
+            return "video/mp4";
             case "css":
             return "text/css";
             case "xml":
@@ -79,3 +83,4 @@
     }
=20
 }
+

--------------050108050606090300050803
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms

--------------050108050606090300050803--