home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
htmlcon.zip
/
HTMLCON.INI
< prev
next >
Wrap
Text File
|
1995-06-03
|
7KB
|
199 lines
; HTMLCon Initialization File (current through version 2.1)
; ---------------------------------------------------------
;
; ----- ABOUT THE HTMLCON.INI CONTROL FILE -----
;
; Lines beginning with a semicolon are considered comments.
; All other lines are considered instructions and must exactly follow
; the format described in this sample file. Arguments are seperated
; by an equal sign (=) which must not be preceeded or succeeded by
; a space or tab.
;
;
; ----- DEFINING THE OUTPUT LINE LENGTH -----
;
; Define the default point at which HTMLCon should attempt to break a
; line for the output file. The break is not guaranteed to occur at
; this point, but as close to it as possible to retain the syntax of
; the input line. Default=72. You may also change this option when
; running HTMLCon in the interactive mode.
;
;linebreak=75
;
;
; ----- COLLECTING STATISTICS -----
;
; Statistics can be compiled and written to the output file.
; Use of this function does not increase the processing time and it does
; provide some interesting information in the output file. In addition,
; by uncommenting the "showlinks=yes" command, HTMLCon will write all
; external URL links found in the input file as an appendix to the
; output file. The "showlinks" option may be changed when running
; HTMLCon in the interactive mode.
;
statistics=yes
;showlinks=yes
;
;
; ----- VIEWING OR PROCESSING THE OUTPUT FILE AUTOMATICALLY -----
;
; You may launch another program after HTMLCon finishes its work. This
; may be an ASCII file viewer, editor, or whatever. The launched program
; must be able to take the output file name as an argument. In order to
; accomplish this you must provide the FULL PATH to your program. This
; is a handy function to allow you to automatically and immediately see
; the results of the HTMLCon conversion process.
;
;launchprog=c:\utils\list.com
;
;
; ----- FINDING AND REPLACING THINGS -----
;
; Find and replace: you may specify up to 50 strings to be located in
; the HTML file and replaced in the ASCII output file. These will be a
; direct replacement using the two commands "find=" and "replace=". Each
; "find" element will be replaced by a "replace" element, therefore you
; cannot have a "find=" statement without a following "replace=" statement.
; To specify leading or ending spaces in a statement, surround the statement
; with quotations ("). The strings cannot exceed 40 characters each.
;
find=" -- "
replace=--
;
; Here is an example replacing all HTMLCon reference symbols [*] with just *.
;
;find=[*]
;replace=*
;
; Or just ignore all references altogether...
;
;find=[*]
;replace=
;
; Some nice find/replace items to make the output look a bit better.
;
; [add whatever you would like here]
;
;
; ----- KEEPING THE AUTHOR'S ORIGINAL FORMATTING -----
;
; You may elect to keep the formatting characteristics of the original
; HTML file intact. This will preserve white spaces, line breaks, etc. as
; originally constructed by the author of the HTML page. This option
; can be changed when HTMLCon is run in the interactive mode.
;
;keepformatting=yes
;
;
; ----- IGNORING HTMLCON'S MARKERS IN THE OUTPUT FILE -----
;
; You may choose to have HTMLCon not replace certain HTML constructs
; with its own markers (for example, HTMLCon replaces URL references
; with the symbol [*]). To have HTMLCon simply ignore its own symbols and
; not reference certain items in the original HTML file, uncomment the
; next line. This option can be changed when HTMLCon is run in the
; interactive mode.
;
;ignoresymbols=yes
;
;
; ----- PRESERVING HREF MARKERS IN THE OUTPUT FILE -----
;
; You may instruct HTMLCon to preserve all <A HREF...> constructs when
; converting the HTML file. These references will be preserved intact,
; without modification. To use this feature, uncomment the next line.
; This option can be changed when HTMLCon is run in the interactive mode.
;
;keephref=yes
;
;
; ----- ELIMINATING ADVERTISEMENTS AND DELAYS -----
;
; Eliminate the advertisements and delays
; [available to registered users only]
;
;
; ----- PRINTING THE OUTPUT FILE ON LPT1 -----
;
; If you would like the option to send the processed file to LPT1
; then uncomment the next line. This option can be changed when HTMLCon
; is run in the interactive mode.
;
;useprinter=yes
;
; Note that you may only send the processed file to a line printer
; attached to LPT1 and that HTMLCon assumes the printer is connected
; and operating properly.
;
;
; ----- SPEED PROCESSING MULTIPLE FILES -----
;
; Uncomment the following line to tell HTMLCon to NEVER pause for any
; prompt, including the call to your file viewer or other
; post-processor. This option can be changed when HTMLCon is run in
; the interactive mode.
;
;nopause=yes
;
;
; ----- IGNORING CERTAIN FILE TYPES -----
;
; The following directive lists file extensions which should always be
; ignored by HTMLCon. If an input file name contains one of these
; extensions than it will never be processed. Note that the file
; extension must always include the "." in this directive:
;
ignore=.ZIP.EXE.COM.LZH.GIF.LPG.ARC.ASC.SYS.INI.TXT.DOC
;
;
; ----- USING USER-DEFINED FILTERS -----
;
; Uncomment the next directive to have HTMLCon apply a set of filter
; replacements contained in the file HTMLCON.FIL in HTMLCon's default
; directory. This filter file will find and replace HTML ENTITIES
; in your output file. See any of the sample *.FIL files included with
; HTMLCon for more information.
;
usefilter=yes
;
;
; ----- CHANGING THE DEFAULT OUTPUT FILE NAME EXTENSION -----
;
; HTMLCon normally uses the default file extension ".ASC" when multiple
; files are processed or the file extension is not specified. You may
; specify your own default file extension using the following command.
; This file extension MUST be preceeded by a "." and contain no more than
; three characters.
;
;extension=.TXT
;
;
; ----- ADDITIONAL OUTPUT FORMAT OPTIONS -----
;
; In order to compress extra spaces in the output, uncomment this
; command. To keep the original character spacing, ignore it. You may
; change this option when running HTMLCon in the interactive mode.
;
;compress=yes
;
;
;
; ----- USER-DEFINED LINE BREAKS -----
;
; HTMLCon will always search for a space, comma or dash to break a
; line for output purposes. You may also elect to add other characters
; for which HTMLCon will search to logically break a line. You may
; specify up to 50 such characters in a single command using the option
; below. Be careful doing this, however, so that you do not end up with
; illogically-truncated lines in your output. If HTMLCon does not find
; one of the four characters mentioned above, it will seek out one of the
; characters you itemize in the command below. The FIRST character it
; finds will cause HTMLCon to break the line if it is within the specified
; margin parameters established using the "linebreak=" command above:
;
breakchars=:;=\|/
;
;
; End of file