lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] xhtml file extensions


From: Thomas Dickey
Subject: Re: [Lynx-dev] xhtml file extensions
Date: Mon, 16 Jul 2018 21:18:05 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Mon, Jul 16, 2018 at 12:33:06PM +0200, Dan-Simon Myrland wrote:
> Hi, I have noticed that lynx (at least as of 2.8.9dev.16 - 11 Jul 2017),
> does not recognize .xhtml or .xht files as html (it does recognise .htmlx --

htmlx's been there quite a while (before anyone used xhtml, probably).

> is that supposed to be xhtml..?). This causes a fair bit of problems in my
> use case (I am using it in a script to read epubs). You can of course force
> lynx to treat a page as html, but that only works for the first page. All
> subsequent links are only treated as text. Even hitting \ does not force
> lynx to treat these pages as html.
> 
> Is this a design decision, or a bug..?

just overlooked - there's a section in src/HTInit.c which associates
common suffixes with mime-types (for local files, of course).

-- 
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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