Re: State of the art for HTML-to-text rendering?
Jerry Heyman <[email protected]> Sat, 16 Nov 2024 22:56:08 -0500
| Newsgroups | gmane.mail.nmh.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 16 Nov 2024 16:53:50 +0000, Conrad Hughes via "Discussion of nmh development, and help for new users" <[email protected]> wrote: > Thanks for the responses on this; I tried the w3m/lynx/elinks defaults > and none solved my specific problem (which basically comes down to > whether the browser looks at CSS I suspect), but at least lynx manages > to reliably render to 80 columns on an 80-column terminal, so I've > switched from w3m to that. > > Looks as if I might need something like brow.sh (which somehow renders > Firefox output in a terminal window) in order to suppress the styled- > out summary paragraph, but installing that looks like effort, and it may > no longer be maintained. > > Paul's idea of invoking a GUI app for a with-images version of things is > also a good one: it's rare enough that I currently just manually > `mhstore` and invoke a browser on whatever that produces, but automating > the process would be smart. I've been using [N]MH as my choice in email at home since before the turn of the century. I used it at work before then. I've been doing the fetchmail from my web email service to local and then reading/sending email from my local Linux machine. Over the years I've used many different graphical front-ends as the world moved from terminals to xterms to *term (today). Originally I used xmh, then exmh, and for the last 10+ yrs I've used Sylpheed. Sylpheed isn't an nmh only GUI, but it has support for it. One of the key features is that it can shows the different parts of a message - and will show the non-rendered html as ascii. Jpgs and png are rendered in the message window. If you want the whole HTML experience, you can double left-click on the HTML part and it will open a new tab in a browser of choice (sans jpg / png attached to the message) These days I'm using Vivaldi - all running on Linux. > > Best, > Conrad > jerry -- // Jerry Heyman | "Human beings are born with different // Amigan Forever :-) | capacities. If they are free, they are \\ // heymanj at acm dot org | not equal. And if they are equal, they \X/ | they are not free" - A. Solzhenitsyn