From: Kon A. <an...@cp...> - 2002-03-27 02:41:57
|
Thanks for that, I'll keep it in mind Kon > -----Original Message----- > From: Matthew Gregg [mailto:gr...@mu...] > Sent: Wednesday, March 27, 2002 12:48 PM > To: Kon Angelopoulos; php...@li... > Subject: RE: [phpesp-dev] Re: Re: Export Download > > > Ok, lets see if this thing can reply just once this time. Serves > me right > using Beta software. > > I'm cool with Thrusday. > One other thing to try in your testing. Past dealings with pushing files > to IE lead me to belive that it may ignore mime-types and go > strictly with > filename extentions. So try changing the extention around and > see what the > browsers do. For example try sending the filename as > "somthing.doc" with a > csv mime-type. I bet IE will associate it with Word. > > Thanks. > > > --On Wednesday, March 27, 2002 12:34:20 PM +1100 Kon Angelopoulos > <an...@cp...> wrote: > > > Excellent, > > > > This is exactly the same process I took, that's why I said that it > > may not be a valid type. However, having tested your original patch, > > which used a Content_Type of text/plain-text, > > on IE5, IE5.5, IE6, Netscape 4.72, Netscape 6.2.1, > > I found no problem with it. All presented the save as dialog box and > > downloaded the file correctly. > > > > I can certainly perform the same tests using application/x-csv and > > text/comma-separated-values > > and see how I go with them. > > I'll present the results to the list on Thursday night > (that's Aussie > > time) and we can take it from there. > > > > Would everyone be cool with that? > > > > If anyone can do it before then let me know. > > > > Kon > > > >> -----Original Message----- > >> From: Matthew Gregg [mailto:gr...@mu...] > >> Sent: Wednesday, March 27, 2002 12:14 PM > >> To: Kon Angelopoulos; php...@li... > >> Subject: RE: [phpesp-dev] Re: Re: Export Download > >> > >> > >> This is turning into a difficult question indeed :) > >> > >> The /etc/mime.types file on my box lists this: > >> text/comma-separated-values > >> > >> The Official listing of Media(mime) Types at IANA > >> http://www.isi.edu/in-notes/iana/assignments/media-types/media-types > >> list no CVS type at all, but does list > >> test/tab-separated-values > >> which is where I'm assuming text/comma-separate-values derives from. > >> > >> The RFC on the MIME Information Page > >> http://www.hunnysoft.com/mime/ > >> List no such mime type and suggest the following: > >> > >> "Unrecognized subtypes of "text" should be treated as subtype "plain" > >> as long as the MIME implementation knows how to handle the charset. > >> Unrecognized subtypes which also specify an unrecognized charset > >> should be treated as "application/octet- stream"." > >> > >> A thread on Google groups > >> http://groups.google.com/groups?hl=en&frame=right&th=c4a57c10fa3fd > >> a60&seekm > >> =Pine.GHP.4.21.0011201856130.3313-100000%40hpplus03.cern.ch#link1 > >> > >> suggests text/comma-separated-values over application/octet-stream. > >> > >> Argh... > >> > >> > >> > >> > >> > >> --On Wednesday, March 27, 2002 10:04:49 AM +1100 Kon Angelopoulos > >> <an...@cp...> wrote: > >> > >> > I totally agree > >> > I just don't think application/x-csv is a valid type > >> > > >> > Kon > >> > > >> > > >> >> -----Original Message----- > >> >> From: Matthew Gregg [mailto:gr...@mu...] > >> >> Sent: Wednesday, March 27, 2002 9:32 AM > >> >> To: Kon Angelopoulos; php...@li... > >> >> Subject: RE: [phpesp-dev] Re: Re: Export Download > >> >> > >> >> > >> >> But what if I'm not importing into Excel? I would prefer a > >> more generic > >> >> mime type. Unless of course "application/x-csv" is totally wrong. > >> >> > >> >> --On Wednesday, March 27, 2002 09:25:18 AM +1100 Kon Angelopoulos > >> >> <an...@cp...> wrote: > >> >> > >> >> > > >> >> > Guys, > >> >> > > >> >> > the prefered mime type for excel is: application/vnd.ms-excel > >> >> > > >> >> > Kon > >> >> > >> >> > >> >> > >> >> one of the friendly folks in the IT Lab. > >> >> --------------------------------------\ > >> >> The IT Lab (http://www.itlab.musc.edu) \____________________ > >> >> Probably the world's premier software development center. > >> >> Serving: Programming, Tools, Ice Cream, Seminars > >> >> > >> > > >> > >> > >> > >> one of the friendly folks in the IT Lab. > >> --------------------------------------\ > >> The IT Lab (http://www.itlab.musc.edu) \____________________ > >> Probably the world's premier software development center. > >> Serving: Programming, Tools, Ice Cream, Seminars > >> > > > > > > one of the friendly folks in the IT Lab. > --------------------------------------\ > The IT Lab (http://www.itlab.musc.edu) \____________________ > Probably the world's premier software development center. > Serving: Programming, Tools, Ice Cream, Seminars > |