[Zope] Sending results of query to Excel

Marcus Collins mcollins@sunesi.com
Wed, 12 Apr 2000 10:18:36 +0200


> -----Original Message-----
> From: Richard Moon [mailto:richard.moon@nec.ac.uk]
> Sent: 11 April 2000 17:32
> To: Jerome Alet; zope@zope.org
> Subject: Re: [Zope] Sending results of query to Excel
> 
> 
> Results of the experiments so far (thanks for all the help)

<snip>

> Here's a sample of code that works
> 
> <dtml-call "RESPONSE.setHeader('Content-Type', 'application/x-csv')">

As far as I know, 'application/x-csv' is not registered (see
ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types).

See the mime faq at 
http://www.cs.ruu.nl/wais/html/na-dir/mail/mime-faq/.html

Some mime types that may help you:

text/tab-separated-values
application/vnd.ms-excel
application/x-msexcel

Give those a spin; something there should work.

<snip>

hth,

-- Marcus