At 05:43 p -0400 10/24/2007, Aengus didst inscribe upon an electronic papyrus:
It appears that IE6 doesn't recognize the application/xhtml+xml Mime type, (this appears to be "widely known" but not not explicitly documented anywhere). As far as I can tell, IE7 doesn't recognize it either. IE will display the XHTML pages that Analog produces - if it didn't, the issue would have been addressed a long time ago! But because IE doesn't know to do when it receives "Content-Type: application/xhtml+xml" from the web server, it prompts the users to save the file instead of displaying it.
Why a Web utility would default to outputting in application/* instead of text/* I cannot fathom.
According to http://analog.cx/docs/whatsnew.html, XHTML has been the default output for Analog since March 2003 :-).
XHTML is the stupidest th-- oops I already ranted here, didn't I. :-)
There are a couple of different ways to deal with this problem. The simplest is to set OUTPUT HTML in the analog.cfg, which changes the output for everyone. A slightly better solution might be to modify anlgform.pl to set OUTPUT HTML when it is called from IE. A better solution would be for anlgform.pl to return "Content-Type: text/html" for IE browsers, while still generating the XHTML output. It shouldn't be too hard to do, but I can barely read perl, never mind write the stuff!
I wanted to edit the script to upgrade all the XHTML code to HTML 4 (the ideal solution), but it seemed that the "magic" was being called from elsewhere, and was not actually in anlgform.pl itself. I assumed it was hardcoded into Analog's compiled file, but if it's external then I would appreciate if someone could identify the relevant text file(s) and their location....
TIA, -boo +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------

