HTTX
HTML to TEXT converter
Created by Gabriele Favrin (favrin@tin.it)
Version 2.0c - November 2000
Index:
1. Utilization terms
2. Property of HTTX and distribution terms
3. Introduction
4. Hardware requirements and installation
5. How to use
5.1 Command line parameters
5.2 External configuration
6. Error Messages and AmigaDOS Return Codes
7. FAQ (advices, interfacing with other programs and more)
8. Technical informations
8.1 What is supported, what is not (yet) and implementation
8.2 Notes about ANSI conversion
8.3 Notes about conversion of
, , and , or .
-Length of line after TAG was wrong in some cases. Fixed.
-HTML 4.0 requires that content of is displayed by non-JAVA
browsers. HTTX skipped it instead.
V2.0b (December 1999)
+Made the source compatible with the new CreativE compiler.
-Fixed a bug that could cause insertion of incomplete ANSI codes
in standard ANSI conversion.
V2.0 (September 1999)
+Reorganized in a modular way the HTML parser, now faster and more
expandable.
+Style HTML tags are now recognized only when ANSI conversion is enable,
thus making non ANSI conversion a bit faster.
+Enlarged the file writing buffer. This makes HTTX faster on fast devices
(such as RAM or SCSI HDs) but slower on slow ones (like Zip drives).
+Added full support for alphabetical and mixed (numeric/alphabetical)
lists.
+Added options ANSIMODE (choice of the used ANSI mode), ANSICOL (colour of
the links), TDEOL (insertion of an EOL between the cells of a table) and
SETNOTE (type of the file note added to the saved file).
+Reorganized the display of current settings.
+Content of the element is now skipped.
+If ANSI conversion is enabled, content of the element is now rendered
in bold.
+Added an easter egg ;-)
-Fixed (hopefully) all the wordwrap bugs and their side effects, such as
duplication of part of the text, bad line length sizing, and so on...
-If SCRIPT option was enabled a bad output file length could have been
showed.
-After an ANSI reset, with underlined text ( HTML element), text could
have been showed in underlined blue.
-Improved ANSI compatibility while printing: now starting spaces are always
preceded by an ANSI reset sequence.
-The settings showed when no argument was given are bad.
-Error 'ENV config 'NAME' not found.' could have been showed even with
options QUIET or STDIO.
-Each cell in a table could contain only one .
-FILENOTE option disabled insertion of URL and TITLE of the document even
when NOHEADER option wasn't used.
-When printing, links was showed in yellow.
V1.7a (June 1998)
+Added alias PRT for PRINT.
-Fixed a dangerous bug that could cause HTTX to crash when a (too) long
line was aligned.
-Fixed an error in wordwrap that caused layout problems after some lines.
V1.7 (January 1998)
+Rewritten in clearer way various important parts of the source code like
wordwrap and ANSI management.
+Made HTML parser more SGML compliant.
+Improved table support by managing each table cell as a separate document.
+Added support for hex numeric entities (nn) up to 255 and Win'95
numeric entities and special characters in the range 128-159.
+Added support for , and improved one.
+Now text into a (or ) element is indented.
+In mode numeric entities (nn) lower than 32 are left as they are.
+Added options SCRIPT and INCLUDE.
+Now when option NOHEADER is used the HTTX version string is not added.
+Improved support for bad HTML coding.
+And many other things!
-Fixed various little aesthetical bugs and bugs related to bad HTML coding
in documents.
-Fixed many little problems with old wordwrap (the more relevant was that
if a line didn't contain spaces and ended with an entity, wordwrap didn't
work correctly).
-Numeric entities lower than ASCII 32 weren't converted to spaces.
-In case of bad arguments, false errors messages were displayed.
-Last character of file could be skipped in some cases.
-Various other bugs wiped out!
V1.5 (May 1997)
+Speeded up very much the program, due to a complete rewrite of HTML parser
and optimization of many functions.
+Added options HRMODE, NOALIGN, PRINT, APPEND, NOCFG, CFG.
+Added alignment support (center and right) of text and separators.
+Added support for various TAGS and HTML attributes (like START in numbered
lists).
+Optimized the ANSI output.
+Added support for ANSI separators.
+Added support for external configuration.
+Improved entities support, now identified, despite of closing character.
+More clear HTTX internal error codes. Custom DOS error messages replaced
with PrintFault() of AmigaDOS.
+Added support for "HTTX source_filename destination_path".
+Improved support of separators in tables.
+Now HTTX follows with higher fidelity HTML DTD for many TAGS.
-Fixed some bugs in wordwrap.
-Fixed all signalled bugs in version 1.1b.
+... Many many other improvements!!!
V1.1b (January 1997)
-Fixed management of some entities.
V1.1a (January 1997)
-Removed a stupid and rare bug in TAGS management.
-Fixed support for MAC EOLs.
V1.1 (November 1996)
+Improved speed.
+Added STDIO, QUIET, BADHTML, NOHEADER, GETNOTE options.
+Added AmigaDOS return codes support.
+Added and TAG support.
+Modified and management, as requested by HTML 3.2 standard.
+Rewritten entities management: now they will be converted even if they
are not closed with ";".
+Extended 7 bit conversion, now faster, more complete (almost all
characters are converted) and more accurate (no accent letters are left in
words, for example "HTTX è bello" becomes "HTTX e` bello" while
"Belphégor" will become "Belphegor".
+As popular demand, default 7BIT option is now OFF.
+Improved support for multiline comments and badly written HTML.
+Added support for TAGS or ALT-Text that contains LF or "<" and ">".
-Fixed many little aesthetical bugs in conversion (double spaces in some
cases, bad chars exiting from and