home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
bbs2html.zip
/
readme.txt
< prev
Wrap
Text File
|
1999-04-26
|
3KB
|
80 lines
BBS2HTML
index file converter
v1.4.4
First I create it program for internal use and don't make advanced error
check. But many peoples EMail me about using it utility and I fix some
bugs and start to add some features.
Warning!!! After v1.3 BBS2HTML configuring via BBS2HTML.CFG.
It utility convert index files into HTML format. Algotithm of scanning
directories are next:
1) Searching descriptions, all descripted files adding to index.
2) If description file contain "*" line - status LISTALL are ON (work
for all child subdirectories also).
3) If no descriptions with status MASTER and no LISTALL - scanning all
subdirectories (step 1). Directories, contains at least one
descripted object adding to index.
4) If no objects added to index - index no creating.
Index may contain external links in format:
<link>:[<URL>[:<path>[:[<root_HTML_dir>:[<up_dir_URL>]]]] [<description>]]
When <up_dir_URL> is "!" - no up link generated.
File names, <link> and <URL> may be in double quotes, for example:
"long file name.txt".
Long names supported in source, but if port (compilation) not support
it (now - DOS target) - long names not used (but external links - may be
long).
Command line: BBS2HTML <root_dir> <root_html_dir> [<config_file>].
Default config file is BBS2HTML.CFG.
Example:
BBS2HTML d:\files /
Header & footer taked from 1) converted directory 2) (if none) in
BBS2HTML.EXE start directory.
About other features - look at .CFG
Compiled with: DOS - BP 7.01, OS/2 - VP/2 1.10, Win32 - Delphi 2.01.
History:
v1.1 - bugs fixed,
added 2HTML.BBS, "*";
v1.2 - some more bugs fixed,
names in double quotes,
external links;
v1.3 - many features (look at BBS2HTML.CFG);
v1.4 - descriptions in OS/2 extended attributes,
ported to Win32 console;
v1.4.1 - fixed bugs,
long names for Win95 in DOS target,
support both names under Win32 and Win95/DOS,
5D external link format;
v1.4.2 - writing HTML first into BBS2HTML.$$$ and rename when complete;
<up_dir_URL> in external link now may be "!" - no "Up" link;
fixed sources - OBJECTS unit not needed, but it was in UniOBJ.pas;
v1.4.3 - fixed bug in HTML syntax: <,>,&,",<num> must be
finished by ";". Into default configuration added "+" into
"Multiline" for FILES.BBS - for ProBoard & PCBoard;
v1.4.4 - fixed bug with skipping fields ("SkipFields" options);
To do:
I planned to make templates for destination index and mutiple destinations.
But it program writing in free time...
----------
(c) Denis Kaganovich AKA mahatma
Homepage: http://mahatma.bspu.unibel.by
or: http://bspu.unibel.by/pages/mahatma
E-Mail: mahatma_d@usa.net
AKA mahatma@bspu.unibel.by
AKA 2:450/144@fidonet