HTML_TXT will attempt to maintain the format of the HTML document by using appropriate spacing and ASCII characters. HTML_TXT can use ASCII art (lines and boxes), as well as other high-ascii characters, to improve the appearance of the output (text) file.
HTML_TXT can be customized in a number of ways. For example, you can:
HTML_TXT.CMD
,
and type HTML_TXT
at the command prompt.
The READ.ME file describes how to install HTML_TXT if you are a Regina REXX user.
HTML_TXT.CMD
): Example: | D:\HTMLTXT>HTML_TXT foo.htm foo.txt /VAR lineart=0 ; lagul=* $ |
The following summarizes HTML_TXT's capabilities.
Type of Feature | Discussion | Customization | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Character Display | HTML_TXT uses a few tricks to identify where emphasis (italics, bold, etc.) are used in
an HTML document. These include:
| |||||||||||||
Lists | HTML_TXT supports nested lists -- with successively deeper indentations used to display
nested lists. Supported lists include <UL> and <MENU> unordered lists,
<OL> ordered lists, <DL> definition lists, and <BLOCKQUOTE> both-side indented blocks.
You can:
|
Although the default values of these parameters work well in most cases, you can change them by editing HTML_TXT.CMD with your favorite text editor (look for the "user configurable parameters" section)
Alternatively, you can temporarily changes values using the /VAR command line option. In fact, by specifying a PLIST=file.ext (in the /VAR section), you can create custom instructions for sets of HTML documents.
The following lists the more important parameters. Of particular interest are the NOANSI, LINEART, TABLEMAXNEST, TABLEMODE2 and TOOLONGWORD parameters.
General Controls | ||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||
Display of tables, in a tabular format, can be tricky. In particular, nested tables may tax the resources of your 80 character text display. HTML_TXT allows you to modify table specific display options, and convert tables into lists. |
||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||
Since it's not possible to use italics, bold, font styles, and other such visual aids in a text file, HTML_TXT uses a few tricks instead.
|
||||||||||||||||||||||||||||||||||||
|
For detailed descriptions of these parameters, see HTML_TXT.CMD.
Disclaimer
This is freeware that is to be used at your own risk -- the author and any potentially affiliated institutions disclaim all responsibilties for any consequence arising from the use, misuse, or abuse of this software. You may use this, or subsets of this program, as you see fit, including for commercial purposes; so long as proper attribution is made, and so long as such use does not preclude others from making similar use of this code.
If you find errors in this program, would like to make suggestions, or otherwise wish to commment.... please contact Daniel Hellerstein