Automating Sitemap Generation - Xenu, CoffeeCup SiteMapper
(Page 4 of 7 )
An application that includes a very basic site mapping tool is Xenu, a report program that tests a number of factors including broken links and orphaned files. When generating a report, part of the results page can be set to display a very basic sitemap. If you wish to search a site, whether it is local or remote, for broken links, then Xenu is the tool for you. If you want an application that will create a visually appealing sitemap without any real effort on your part, look at one of the other solutions available.
The CoffeeCup SiteMapper application is the only freeware application dedicated to the task of sitemap creation that I have actually been able to find and use. It has no static interface; this is another program that relies upon a wizard to create the sitemap. It is presented very well, and is quick and easy to use.

One of the things that impressed me about SiteMapper was the code that it output; in addition to being the only freeware application of this nature that is readily available, it is also one of the few applications that doesn’t format its output using an html table. The sitemap itself keeps to a pretty basic design, relying on simple color schemes and some appropriate images. It can map any file within your site's file structure by simply appending the file extension into the file extensions field, and the output HTML is placed into a text area on the results section of the wizard for easy copy and pasting into an existing page. All in all, this is an excellent application.
A sample of the output code can be viewed below:
<p><img src="smfolder.gif"> <b class="mapsection"><a href="index.htm">Home</a></b><br>
<img src="smfile.gif"> <a href="index.htm" class="mapitem">Home Page</a><br>
<img src="smfile.gif"> <a href="page1.htm" class="mapitem">Page 1</a><br>
<img src="smfile.gif"> <a href="page2.htm" class="mapitem">Page 2</a><br>
<img src="smfile.gif"> <a href="page3.htm" class="mapitem">Page 3</a><br>
<img src="smfile.gif"> <a href="page4.htm" class="mapitem">Page 4</a><br>
<img src="smfile.gif"> <a href="page5.htm" class="mapitem">Page 5</a><br>
The images represent a folder for the root or a directory and a page icon for pages. It then simply lists the shortcuts to the pages. The only problem is the fact that the <br> tags are not closed correctly, although this is acceptable under the transitional DOCTYPE statement added to the document head.
Next: All Web Menus >>
More HTML Articles
More By Dan Wellman