Re:Rdrview – Firefox Reader View as a Linux command line tool
by ktpsns on Monday October 19, 2020 @08:25AM
(#24825684)
It would be super helpful to have such a tool be part of a command line browser such as lyx or links.
[ Parent
| on HN ]
Re:Rdrview – Firefox Reader View as a Linux command line tool
by eafer on Monday October 19, 2020 @02:28PM
(#24829326)
I haven't looked too deeply into the lynx codebase, but it might be tricky to do this without extra dependencies. Lynx already parses html obviously, but I don't know if it ever needs to make modifications to it.
Now, it would be great if there was a way to pipe the html from a webpage into another tool from inside lynx. Maybe that exists already and I'm just not aware of it.
Re:Rdrview – Firefox Reader View as a Linux command line tool
by eafer on Sunday October 25, 2020 @10:04PM
(#24892156)
> Now, it would be great if there was a way to pipe the html from a webpage into another tool from inside lynx.
For future reference, it appears that this can be done with elinks.
Re:Rdrview – Firefox Reader View as a Linux command line tool
by dvfjsdhgfv on Monday October 19, 2020 @08:43AM
(#24825785)
I really hope it happens!
Re:Rdrview – Firefox Reader View as a Linux command line tool
by smhenderson on Monday October 19, 2020 @09:31AM
(#24826184)
lynx has —dump which prints a rendered page to stdout.
Re:Rdrview – Firefox Reader View as a Linux command line tool
by eafer on Monday October 19, 2020 @02:24PM
(#24829258)
The motivation for rdrview is cleaning up all the menus and clutter from the dump. It still uses lynx (or any other text browser) for the render.
Re:Rdrview – Firefox Reader View as a Linux command line tool
by yjftsjthsd-h on Monday October 19, 2020 @11:36AM
(#24827303)
Likewise `elinks -dump` if you prefer elinks.