[Lynx-dev] JavaScript pages

2021-09-14 Thread Julius Hamilton
Hey,

Does anyone know if there is any project like Lynx that can render
JavaScript-heavy webpages in plaintext? I have found that there are some
webpages that Lynx can not render either because it doesn't have that
capability or sometimes because the website itself blocks Lynx.

Thanks very much,
Julius
___
Lynx-dev mailing list
Lynx-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev


[Lynx-dev] Connect sentences as lines for text dump

2021-09-14 Thread Julius Hamilton
Hey,

I often dump webpages into Vim with Lynx, but it breaks sentences that run
onto multiple lines into different lines, rather than being a single
connected line (i..e, no end of line character, "$").

I noticed that if I just copy and paste from a web browser like Firefox and
paste it into Vim, sentences are connected and not broken over lines.

Is there some way I could set an option or a flag in Lynx to detect
continuous text regions such as sentences and paragraphs and keep them
connected when I dump from Lynx?

Thanks very much,
Julius
___
Lynx-dev mailing list
Lynx-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] Connect sentences as lines for text dump

2021-09-14 Thread Jude DaShiell
You might try fmt or newfmt as a part of a pipe to clean this up.



___
Lynx-dev mailing list
Lynx-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] JavaScript pages

2021-09-14 Thread Jude DaShiell
Try edbrowse.


On Tue, 14 Sep 2021, Julius Hamilton wrote:

> Hey,
>
> Does anyone know if there is any project like Lynx that can render
> JavaScript-heavy webpages in plaintext? I have found that there are some
> webpages that Lynx can not render either because it doesn't have that
> capability or sometimes because the website itself blocks Lynx.
>
> Thanks very much,
> Julius
> ___
> Lynx-dev mailing list
> Lynx-dev@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/lynx-dev
>

___
Lynx-dev mailing list
Lynx-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] Connect sentences as lines for text dump

2021-09-14 Thread Thorsten Glaser
Julius Hamilton dixit:

>Is there some way I could set an option or a flag in Lynx to detect
>continuous text regions such as sentences and paragraphs and keep them

-width 1024 (no longer than that though) possibly with -nomargins

For anything longer, use a different tool, such as xmlstarlet (with
tidy to convert to XML/XHTML beforehand, if needed).

bye,
//mirabilos
-- 
Gestern Nacht ist mein IRC-Netzwerk explodiert. Ich hatte nicht damit
gerechnet, darum bin ich blutverschmiert… wer konnte ahnen, daß SIE so
reagier’n… gestern Nacht ist mein IRC-Netzwerk explodiert~~~
(as of 2021-06-15 The MirOS Project temporarily reconvenes on OFTC)

___
Lynx-dev mailing list
Lynx-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev


[Lynx-dev] Connect sentences as lines for text dump

2021-09-14 Thread russellbell
'I often dump webpages into Vim with Lynx, but it breaks
sentences that run onto multiple lines into different lines, rather
than being a single connected line'

-width=NUMBER screen width for formatting of dumps (default is 80)

?

russell bell

___
Lynx-dev mailing list
Lynx-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] JavaScript pages

2021-09-14 Thread Karen Lewellen

Hi Julius
granted I am unsure what system you are using.
Still links, as in a chain can sometimes provide java support.
The project is still under development, there are even packages for DOS, 
and  I understand those behind its work are open to communication.
Speaking personally e-links, which used to manage JavaScript even better, 
would be a wonderful project to have updated.

 Best,
Karen



On Tue, 14 Sep 2021, Julius Hamilton wrote:


Hey,

Does anyone know if there is any project like Lynx that can render
JavaScript-heavy webpages in plaintext? I have found that there are some
webpages that Lynx can not render either because it doesn't have that
capability or sometimes because the website itself blocks Lynx.

Thanks very much,
Julius
___
Lynx-dev mailing list
Lynx-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev



___
Lynx-dev mailing list
Lynx-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev