[Top][All Lists]

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

Re: [Lynx-dev] xhtml file extensions

From: Travis Siegel
Subject: Re: [Lynx-dev] xhtml file extensions
Date: Fri, 20 Jul 2018 13:37:12 -0400 (EDT)
User-agent: Alpine 2.21 (DEB 202 2017-01-01)

I was noticing (and wondering) the same thing. Renaming the files to .html works just fine, but as mentioned, unless we want to change all the links in the files, it's kind of a nonstarter. I tried to scan the source code to see where it handles xhtml files, but I couldn't find the actual behavior for the difference between xhtml and html, I was hoping I could just replace one function call with another one, but no luck on that front. :)

On Mon, 16 Jul 2018, 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 -- 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..?

PS: Keep up the good work :)

Lynx-dev mailing list

reply via email to

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