[Zope] Re: CSV (Was: Perl scripts)

sean.upton@uniontrib.com sean.upton@uniontrib.com
Wed, 16 Oct 2002 08:41:34 -0700


I use something very similar with a python script, but I'm using tabs '\t'
as delimters, and also wrapping the python script that outputs delimited
text with a dtml-method that does the following before calling the said
python script:

<dtml-call expr="RESPONSE.setHeader('Content-type', 'application/csv')">

Perhaps the trick is to name the file with an .xls extension, but the
mime-type stays csv?

Sean

-----Original Message-----
From: Andreas Tille [mailto:tillea@rki.de]
Sent: Wednesday, October 16, 2002 8:08 AM
To: Zope user list
Subject: [Zope] Re: CSV (Was: Perl scripts)


On Wed, 16 Oct 2002, Tino Wildenhain wrote:

> for the buggy-as-hell Excel, the trick is to name
> the .csv File .xls
> Then Excel can split the columns correctly.
I tried it with exactly the same example - without any success :-(.
(Also Gnumeric shows one single column instead of three.)

Kind regards

         Andreas.


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )