Ok, right - for what I need it for (very end user) I can't go delving into the source. Many thanks for your help.
Perhaps something like this could go in as a feature request? It might have a lot of potential in making svg & other xml stuff more accessible. Cheers, Danny. --- Danny Ayers <stuff> http://www.isacat.net </stuff> >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of >Thomas Dickey >Sent: 22 March 2002 21:42 >To: [EMAIL PROTECTED] >Subject: Re: lynx-dev Overriding mime types > > >On Fri, Mar 22, 2002 at 03:29:52PM -0500, Thomas Dickey wrote: >> On Fri, Mar 22, 2002 at 08:22:22PM +0100, Danny Ayers wrote: >> > Will this actually be presented as image/svg+xml coming from >file? I can't >> > see any mention in the trace (though I'm not familiar with >these traces). >> > >> > I don't suppose you could try >> > http://www.w3.org/TR/SVG-access/simplenetwork.svg ? >> >> hmm - this is a different problem - the server sets the >Content-Type, which >> makes it an image: >... >> short answer: I don't know if there's a way to override that (that is, to >> force that MIME type to be rendered as html). > >somewhat longer: my understanding of this part of the code is that the >part that must be adjusted is done only internally in HTInit.c using >the HTSetConversion() functions. There's no lynx.cfg setting which >touches this, but adding a call that duplicates the function of this > > HTSetConversion("application/html", "www/source", > HTPlainPresent, 1.0, 0.0, 0.0, 0); > >with something like > > HTSetConversion("image/svg+xml", "www/source", > HTPlainPresent, 1.0, 0.0, 0.0, 0); > >might make the code do what you need. > >-- >Thomas E. Dickey <[EMAIL PROTECTED]> >http://invisible-island.net >ftp://invisible-island.net > >; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED] ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
