lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: lynx-dev Overriding mime types


From: Danny Ayers
Subject: RE: lynx-dev Overriding mime types
Date: Fri, 22 Mar 2002 21:57:01 +0100

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: address@hidden [mailto:address@hidden Behalf Of
>Thomas Dickey
>Sent: 22 March 2002 21:42
>To: address@hidden
>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 <address@hidden>
>http://invisible-island.net
>ftp://invisible-island.net
>
>; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]