Re: automatic HTML to ASCII conversion

---------

Thomas Koenig (tkoenig@MIT.EDU)
Thu, 16 Jun 94 12:05:01 EDT


Lutz Prechelt <prechelt@ira.uka.de> wrote:

> My question is: Is there a nice way to do this automatically, i.e. without
> starting an interactive program and clicking buttons ?

The ASCII WWW client lynx has this capability; just run it with "lynx -dump".
I use this in a gmake rule, as in:

%.txt: %.html
lynx -dump *.html > $*.txt

After that, I cat the textfiles together.

However, quite recently, Matt Welsh has released Linuxdoc-SGML v1.1.
I quote from the announcement (to comp.os.linux.announce):

>I have uploaded Linuxdoc-SGML v1.1 to sunsite.unc.edu:/pub/Linux/Incoming.
>It is also available on ftp.cs.cornell.edu:/pub/mdw.
>
>Linuxdoc-SGML is a text-formatting package based on SGML (Standard
>Generalized Markup Language), which allows you to produce LaTeX, groff,
>HTML, and plain ASCII (via groff) documents from a single source.

At first glance, this looks to be very good; I'm considering switching
the Gnuplot FAQ over to this format.

Thomas Koenig



[ Usenet Hypertext FAQ Archive | Search Mail Archive | Authors | Usenet ]
[ 1993 | 1994 | 1995 | 1996 | 1997 ]

---------

faq-admin@landfield.com

© Copyright The Landfield Group, 1997
All rights reserved