HTML Utilities for DOS (2 of 2)

Back to Front Page

global menu:



HTML CONVERSION- Special formats

For a comprehensive list of HTML converters for various platforms see: <http://www.w3.org/Tools/Filters.html>.


Martha- RTF to HTML conversion.

unrated [added 12-19-98; updated 06-15-99]

Most word processors support writing of documents to the RTF format. While RTFtoHTML is the premier command line RTF to HTML converter, it is pay-shareware. Martha is a less ambitious freeware effort- but appears to perform adequately for casual use. While Martha is certainly not a comprehensive tool it appears to generate more faithful output than the few other freeware DOS programs I've run across. Like RTFtoHTML, Martha supports conversion of heading/ styles, tables, and footnotes (links to / from footnotes are auto-generated) . Creates a table of contents with hyperlinks to headings in the body of the document. Font face, size, and attributes are usually but not always converted. Embedded images are saved as external WMF files (links to GIF files are created- you must perform the image conversion). Single file processing only, batch or interactive mode. No docs included. Author: Yves Sagnier, France (1999). Home Page.

06-15-99: New in v1.5 (5-99): bug fixes.

download martha15.zip (beta, 24K)

The author also distributes an HTML to RTF converter ISHTAR:

download ishtar.zip (beta, 21K)


DBF2HTML- Command-line DBF to HTML converter.

* * * *

There are plenty of utilities floating around that convert Excel or Access tables to HTML tables- but these are usually large GUI apps and often only read the latest proprietary formats generated by the fertile minds at M$.

In contrast, DBF2HTML converts widely transportable DBF files into HTML tables. This small (27K) Italian program includes a healthy list of options to customize the content and general appearance of the resulting HTML. Recognized field types are: character, numeric, logical and date (no support for memo fields, doesn't process index files). DBF2HTML can also be used as a CGI-BIN program for WEB servers. I have seen a shareware Win95 app that does much the same thing- but it's packed as a 3MB zip. Author: Simone Govoni. 1997.

Syntax: DBF2HTML [switches] dbffile[.dbf] [htmlfile[.htm]]
/b width......Set the table border width to <width>
/c caption....Set the table caption to <caption>
/B............Put the caption (/c) below the table(default: above)
/d............Skip deleted records
/f fieldlist..Process only fields specified in the <fieldlist>
/h............Display this help screen
/l............Use the four digits format to display years
/s............Display the DBF structure
/t title......Set the HTML document title to <title>
The following macros can be used inside the title
or the caption:
$f The file name of the DBF; $q The '"' character;
$p The '%' character; $$ The '$' character

download d2h100.zip (18K)


TtH- TeX / LaTeX to HTML converter.

unrated [added 12-06-98]

TtH is a command line filter that does a good job of converting Plain TeX or LaTeX files into their HTML equivalents.

From a reader: "How well does the program work? Very well. Documents are converted to HTML 3.2. It supports all standard TeX and LaTeX constructs, including the LaTeX tabular environment. Headings and text convert smoothly (for example, text tagged as \bf converts to <B>). TtH can also generate an HTML index if the LaTeX file contains a \makeindex command. Limitations? TtH cannot handle custom macros and styles. Equations are converted to HTML, but the program uses the <FONT FACE="SYMBOL"> extension. Also, <HEAD> and <BODY> tags are not added to the file. This may cause problems when you want to use CSS. " Linux binary, source (C), and a commercial version with added functionality are also available from Home Page.

Free for non-commercial use only. Author: Ian Hutchinson (1998); suggested by Scott Nesbitt..

download tth_exe.zip (225K)


Dir2Web- Convert a directory list to HTML with local or remote links.

* * * * [updated 5-29-98]

This small (2.5K) program is a great tool for web authors. From the documentation: "[Dir2Web] reads a user-defined filespec (e.g. *.*) and creates an HTML index file. The index is fully customizable: you can include file times (24-hour), dates (2000 compliant YYYY-MM-DD), or sizes and even create links to each file while including a remote URL prefix.

Usage:
DIR2WEB filespec outfile ["Title"] [/D] [/L[=prefix]][/ND|T|S]
/D include directories
/L make links [with a prefix]
/N no dates/times/sizes
/? this help screen
Example: dir2web \files\*.zip index.htm "Test" /d /l=http://localhost/ /ndts
Notes: /L does not require a prefix. /N can be followed by D, T, or S in any
combination. All [parameters] are optional, and may be used in any combination.

New in v 1.41 (5-98): returns ERRORLEVELs.

Part of Jem Berkes' DOSUTILS package. Donationware.

Download DOSUTILS from: Jem Berkes' PC Utilities site.


BBS2HTML- Converts FILES.BBS list to HTML.

* * * [added 3-8-98]

BBS2HTML takes a FILES.BBS list and converts it to HTML. Primarily intended for BBS sysops who are transferring their file collections to the Internet. Others might find a use for this program if they are uploading personal file collections. This program has both good and bad points. On the negative side: it is completely interactive. BBS2HTML prompts for a few criteria (e.g., the name of your site, the remote path, etc.) and then generates the HTML file. Not much flexibility. On the plus side: sane HTML formatting. No tables or fancy HTML; your file will be readable in nearly any browser. You'll have to check the layout of your FILES.BBS file prior to conversion because the program won't convert properly if the FILES.BBS file contains a header. For a neater look, you should also remove IBM graphics characters that are frequently added to some archive description files. Author: Scott Fletcher (1995)

Also see: FiD

download bbs2html.zip (47K)


HTML PRE-PROCESSORS


1. ORB- HTML pre-processor for efficient management of multiple web pages.

untested [added 12-5-98]

Paraphrased from the docs: "Orb is a tool for Web developers which makes design, development, and maintenance of large sites easier...Orb source files consist of normal HTML source with additional Orb-specific markup; the latter is parsed and replaced by Orb to create a pure HTML output file.

Note: Formerly fee-ware, Orb is now free (and GPL), although the docs in the source package haven't been updated to reflect this change. See Orb Home Page for more info. Author: Craig Berry. (1998). Suggested by Scott Nesbitt, Dev Teelucksingh, others.

download orb20dos.zip (DOS exe only)
and
orb20s.zip (Docs and source)


2. htp- HTML pre-processor for efficient management of multiple web pages.

untested [added 9-12-98]

This command line program could be a big time-saver (in the long run) for those who manage numerous web pages sharing a common layout. In brief, the program requires management of Content files (HTML files containing the content of your pages and time-saving macros) and a Template (design) file which holds instructions for the common layout of your pages. Features:

Author: Jim Nelson (1996). Suggested by Robert Bull.

download htp.zip (157K)


3. StrpHTML & KeepHTML- Cut out or keep sections of text in HTML document.

* * *

StrpHTML and the companion KeepHTML are programs which strip out (or keep) sections of text in an HTML document. The programs work by locating and cutting around user-inserted HTML comments. For example, StrpHTML cuts out text between <!--CUT --> and <!--ENDCUT --> comments. A possible application includes generating distinct, multiple HTML pages from a single commented template file. I use StrpHTML to cut out non-essential HTML (e.g., javascript code) before converting these pages to plain text (look at the raw source of this page).

Usage:
StrpHTML [INFILE] [OUTFILE] [0 1 2 ... 9]
[INFILE]...The file to process.
[OUTFILE]..File that should be written to. If it exists StrpHTML
...........will overwrite it.
[LEVEL]....Stripping level. Should be 0,1,2... or 9.
StrpHTML will copy every line from INFILE to OUTFILE until it finds a line that _starts_ with "<!--CUTn" (without the quotes), and if the level indicator n was specified on the commandline. Copying will resume after a line is found starting with "<!--ENDCUTn", and where n is a specified level. Also, every line starting with "<!--REMOVEn" or "nREMOVE-->" will not be copied to OUTFILE. Limitations: The CUT/ENDCUT comments must be placed at column one of a line and can't be preceded by other text. If you use an HTML editor that auto-formats HTML (e.g., Netscape Gold), these comments may get bracketed by <P></P> tags and StrpHTML won't recognize where to cut. After editing with Netscape, I'll pre-process files with a search replace tool to get rid of the offending <P> tags inserted by Netscape- and then will run StrpHTML. Tip: Strp/KeepHTML don't support wildcards: try LOCATE's marvelous /O option to quickly generate a batch file with multiple commands, e.g.,

LOCATE C:\HTML\*.HTM /O:"STRPHTML &N C:\HTML\&R.OUT 0" >STRIP.BAT
(where &N holds a filename and &R a basename)

Author: Arjen Venhuis, Netherlands. (1997). Tip by Bjorn Simonsen.

download strphtml.zip (19K, includes KeepHTML).


OTHER . . .


FTE- Programmer's editor with HTML editing mode.

While this power editor is tuned for programming chores, it does include an HTML "mode" with color highlighting of HTML tags and a menu with commands to insert common HTML tags. See full description on the Text Editor page.

Also see: Power editors on this list that offer (at least) HTML syntax highlighting : Vim, Elvis and SETEDIT.


TTM- Create background texture images for HTML pages.

* * *

The TeraLogic Texture Maker is an SVGA-only graphics mode program that creates and saves background texture images commonly used in HTML pages. TTM could conceivably be used as a texture creator for programs like POV-RAY. Images are saved to uncompressed 24-bit TGA format. The mouse compatible interface is easy to navigate. Includes a good variety of effects like relief, plasma, shadowing, and waves. Context sensitive help window. A Win95 version is also available from the TeraLogic Homepage.

Requires 386+, 1MB RAM, Mouse, 800x600x8 Bit VESA.; Executable size= 75K

Donationware.

Author: Tobias Reichert (1997). Suggested by Marianna Van Erp

download ttxmkrr.zip from ZDNET (166K).


GIF-TOOLS- Create animated and transparent GIFs.

unrated [updated 06-26-99]

GIF-TOOLS is a suite of special purpose GIF utilities- including GIF MAKE which creates animated and transparent GIFs.

Includes:

Author: "Samiel" (1997)

For documentation, get the older v2.0:

download gt20free.zip (47K)

06-26-99: For the latest binaries (v2.1;1997) get:

download gt21free.zip (47K)

Also see GIFTRANS - Creates transparent GIF's.


CalHTML- Creates HTML calendar for any month.

unrated

This little 6K program sends an HTML calendar month (using HTML table formatting) to standard output- you can redirect the output to a file. No options. The command line syntax is simple:

usage: cal Month Year 

cal 10 1997 > oct97cal.htm

download calhtml.zip


[ Go to Top | Front Page ]

© 1994-1999. Rich Green