Ben Bucksch wrote:
> Steve Palincsar wrote:
>
>> I'm using Netscape 4.x's command line interface at work as part of a
>> processing system that loads HTML pages and saves them as text under
>> program control. I haven't seen anything discussing whether Mozilla
>> also supports a command line interface, and as far as I've been able
>> to discover, Mozilla doesn't appear to support save as text at all
>> at this point.
>
>
> I don't think Mozilla supports this the way you describe (never heard
> of that 4.x feature).
It's described in a paper by Jamie Zawinski from 1994, found at the
following URL:
http://home.netscape.com/newsref/std/x-remote.html
entitled "Remote Control of Unix Netscape"
>
> However, if you have retrieved the HTML page anyhow, you might be
> able to use one of the test apps do to convert it to plaintext.
> Maybe, they are available in binary form in the zipfile/tarball
> builds from mozilla.org, maybe you need to compile them yourself.
>
> The HTML->TXT converter in Mozilla is nsPlainTextSerializer.cpp,
> formerly nsHTMLToTXTSinkStream.cpp.
Thanks. I'll look for it.
>
>