Re: [Zope] RE: Netscape doesn't recognize dtml-doc as html
From: "Ausum" <augusto@artlover.com> You don't need to do anything, except to ensure yourself that your html is right. That means at least to have the 'html' and 'body' tags placed properly within your header/footer, if you use them.
This is correct if you don't use Netscape 4.7x under Linux and if your dtml-doc has the extension .html. If your dtml-doc has no extension (as in my case) it is displayed ok by e.g. Internet Explorer, but not by Netscape 4.7x. I created a seperate dtml-method with the content <content type: text/html> and included this method in my standard_html_header. Now it works. This seems to be a Netscape problem which has to be taken care of by Zope users!
I suggest you use: <dtml-call "RESPONSE.setHeader('content type','text/html)"> By following zope's documented way, you may be able to avoid future trouble, i.e. the header won't contain a double "content type" headers or you don't include your method at the beginning by accident. cheers, oliver
participants (1)
-
Oliver Bleutgen