Inf-HTML.EXE is designed to act as a interface between a WWW server (such as the httpd port os2httpd by Frankie Fan) and the information contained in Os/2 Inf/Hlp files.
The files in this package that are required for operation are -
I won't go into specifics but I'll provide some examples here. From this you should be able to understand how to work it out.
Say you have a Team Os/2 Newsletter that you want to provide a link to in a WWW page. Simply add the following to the page -
Where x:^mydir^team9404.inf
is the fully qualified path
to the file. Note that forward or backslashes aren't used but rather the
carrot symbol. The +toc
bit tells Inf-HTML to display a Table
of Contents for the Document. In this the Table of Contents items are
linked to articles, the same as the contents listing via view.exe.
Bonus Info
You'll notice that the Table of Contents has expandable/collapsable headings (same as view.exe) that are fully functional. Inf-HTML keeps track of which of these are open by using additional arguements to the above. When you click on a [+] it links to something like -
The numbers added to the command line tell Inf-HTML which
headings are expanded. You should not have to specify these numbers when
adding links - unless you really want to!! Each Table of Contents item
also has a < name="1">
entry so you could make your script
jump to a index entry if you wanted with something like -
which would tell the browser to jump to index item 21.
You probably will never need this stuff. It is only provided so you know how it works.
Hmm... this is easy enough to do except that you have to know the index number of the article. These easiest way to do this is set up the above then look at article link in the Table of Contents.
The format for a article link is -
where +5
is the article index number.
Later, Peter Childs
INTERNET:
pjchilds@apanix.apana.org.au
FIDONET:
Peter Childs 3:800/3 (South Australian Country Club)