converting an html file into a text file

converting an html file into a text file

Post by I l y » Mon, 06 Oct 1997 04:00:00



 If I have a file in html format, how I do convert it into text format?

 lynx file.html > file.text

 does not work right.

 I don't have any ideas right now. Thanks for the suggestions.

 Ilya

 
 
 

converting an html file into a text file

Post by headru » Tue, 07 Oct 1997 04:00:00



:  If I have a file in html format, how I do convert it into text format?

:  lynx file.html > file.text

:  does not work right.

:  I don't have any ideas right now. Thanks for the suggestions.

Here is a option if you don't mind that its not a command at the prompt:
Browse the html file in lynx.  Press "p" for print and save file.  The
file will have all the text without the html code.

 
 
 

converting an html file into a text file

Post by g.. » Tue, 07 Oct 1997 04:00:00


Quote:>  If I have a file in html format, how I do convert it into text format?
>  lynx file.html > file.text
>  does not work right.
>  I don't have any ideas right now. Thanks for the suggestions.

>  Ilya

You can display it in an app like Netscape, then cut and
paste the text into an editor.

--Greg

 
 
 

converting an html file into a text file

Post by I l y » Tue, 07 Oct 1997 04:00:00



| : >:  If I have a file in html format, how I do convert it into text format?
| : >:  lynx file.html > file.text
| : >:  does not work right.
|
| lynx -dump file.html > file.text
| will.
|

 Thanks, you have been extremely helpful.

 Ilya

 
 
 

converting an html file into a text file

Post by Simon John Karl Horma » Tue, 07 Oct 1997 04:00:00



Quote:>  If I have a file in html format, how I do convert it into text format?
>  lynx file.html > file.text

Try lynx -dump -nolist file.html > file.text

(I have lynx version 2.6)

Quote:>  does not work right.
>  I don't have any ideas right now. Thanks for the suggestions.
>  Ilya

--
          --------------------------------------------------
         _/    _/  _/_/_/_/  _/_/_/_/  _/_/_/_/_/  _/_/_/_/
        _/    _/  _/    _/  _/    _/  _/  _/  _/  _/
       _/_/_/_/  _/    _/  _/_/_/_/  _/  _/  _/  _/_/_/_/
      _/    _/  _/    _/  _/  _/    _/  _/  _/        _/
     _/    _/  _/_/_/_/  _/    _/  _/  _/  _/  _/_/_/_/
    _________________________________________________

  = mailed from verge.net.au                       =
 -------------------------------------------------
 
 
 

converting an html file into a text file

Post by Sweth Chandramou » Tue, 07 Oct 1997 04:00:00




>:  If I have a file in html format, how I do convert it into text format?
>:  lynx file.html > file.text
>:  does not work right.
>Here is a option if you don't mind that its not a command at the prompt:
>Browse the html file in lynx.  Press "p" for print and save file.  The
>file will have all the text without the html code.

        for a command-line solution, try finding the perl script html2txt.
does exactly what you are looking for.

        -- sweth.

--
.

 
 
 

converting an html file into a text file

Post by Larry Doolitt » Tue, 07 Oct 1997 04:00:00



: >:  If I have a file in html format, how I do convert it into text format?
: >:  lynx file.html > file.text
: >:  does not work right.

lynx -dump file.html > file.text
will.


 
 
 

converting an html file into a text file

Post by jason car » Wed, 08 Oct 1997 04:00:00


: >:  If I have a file in html format, how I do convert it into text format?
: >:  lynx file.html > file.text
: >:  does not work right.

lynx -dump file.html > file.txt

--

jason carr

http://www.mousetrap.net

 
 
 

converting an html file into a text file

Post by Ian Crozie » Sat, 11 Oct 1997 04:00:00




> : >:  If I have a file in html format, how I do convert it into text format?
> : >:  lynx file.html > file.text
> : >:  does not work right.

> lynx -dump file.html > file.text
> will.



Where can I get a copy of lynx?
 
 
 

converting an html file into a text file

Post by Alan J. Flavel » Sat, 11 Oct 1997 04:00:00



> Where can I get a copy of lynx?

Lynx is a WWW browser. The proper place to ask about it is
c.i.w.browsers.misc, if you don't know how to follow links
from the obvious places, nor how to use a search engine.

f'ups set.

Start from http://lynx.browser.org/