[Zope] Pb with MIME Type x-vCard
Didier Georgieff
Didier.GEORGIEFF@agriculture.gouv.fr
17 Aug 2000 11:31:19 +0100
Hello,
I'm doing a method for getting vCards from a directory.
It works fine, until i want to put some <dtml-var> with the x-vCard
MIME type
1 - If i only put hard coded text it works fine. I get the usual vCard
page on Netscape.
--------------------------------
Content-type:text/x-vCard
Content-Transfer-Encoding:8bit
BEGIN:VCARD
VERSION:2.1
N:name
EMAIL;INTERNET:email
TEL;WORK:tel
END:VCARD
2 - If i put some <dtml-var> and render it ascii it works fine. I get a
html page with the rendered variables.
--------------------------------
Content-type:text/plain
Content-Transfer-Encoding:8bit
BEGIN:VCARD
VERSION:2.1
N:<dtml-var name>
EMAIL;INTERNET:<dtml-var email>
TEL;WORK:<dtml-var tel>
END:VCARD
3 - It fails when i do the x-vCard type AND <dtml-var>.
--------------------------------
Content-type:text/x-vCard
Content-Transfer-Encoding:8bit
BEGIN:VCARD
VERSION:2.1
N:<dtml-var name>
EMAIL;INTERNET:<dtml-var email>
TEL;WORK:<dtml-var tel>
END:VCARD
I'm on 2.1.6 and Netscape 4.51
ANy idea on this strange behaviour ?
--
Didier Georgieff
DDAF du Bas-Rhin - Cellule SIG
2, rue des Mineurs 67070 Strasbourg Cedex
tél : 03.88.25.20.33 - fax : 03.88.25.20.01
email : didier.georgieff@agriculture.gouv.fr
GéoWeb http://10.67.90.3 (Intranet Agriculture)
GéoWeb http://sertit10.u-strasbg.fr (Internet)