File Formats

SiteMapMaker can generate three types of files, a HTML document, an Applet Resource file and a Site Profile file.

a) HTML document

SiteMapMaker uses lists to organize a HTML sitemap in a hierarchial manner. Below is a sample code for a HTML sitemap.
<html> <head> <title> Sitemap </title> </head>
<body bgcolor="#ffffff" text="00000" link="0000ff">
<a href="http://www.mycompany.com"> Sitemap </a>
<UL>
<a href="http://www.mycompany.com/products.hmtl"> products </a> <BR>
<UL>
<a href="http://www.mycompany.com/products/productA"> product A </a> <BR>
<a href="http://www.mycompany.com/products/productB"> product B </a> <BR>
</UL> . . .
</UL>

</body>
</html>

b) Applet Resource file

An Applet Resource file looks very much like a normal HTML document except that it has additional elements in the "<BODY>" tag and the "<A>" tag. In the "<BODY>" tag, the following parameters may be added which can be interpreted by SiteMapViewer

In the "<A>" tag, you can specify the type of image you want this item to be associated with.

Here is what a block of the sample code might look like

....
<BODY TEXT="#000000" LINK="#0000ff" BGCOLOR="#ffffff" FRAMECOLOR="#557777" BUTTONCOLOR="#aabbcc" GLOBAL_HTML="http://www.yourcompany.com/image/link.gif" FTP="http://www.yourcompany.com/image/ftp.gif" ....>
....
<A href="http://www.mycompany.com/something.jpg" TYPE=IMAGE>view image</A>
.....

c) A Site Profile file

A Site Profile file is similar to a HTML document. The only difference is that in the "<A>" tag, the "REFERRAL" parameter can be set to describe the documents which have links to the current item. In the following example

<a href="http://www.somewhere.com" REFERRAL="1,4,8">somewhere</a>.

This line of code means that items 1,4, and 8 in this Site Profile file has links to the current item, "www.somewhere.com".