Contents 
 Index 
 "TPT User's Guide" 
 < Previous 
 Next > 

Chapter 19 TOC Implementation

The index and table of contents need to be flexible to allow sub-projects to be added, deleted, and updated independently of the other projects and the whole system.

In the area of the table of contents, this is accomplished using:

m_tree.script files

m_toc.html file

Java TOC Applet

m_tree.script

The voyant_nav.pl perl program (called from the 50_nav_update.b shell script) generates tree.script files on a sub-project basis. These are mini-TOC (table of content) files which are specific to that sub-project.

The format of the tree.script files adheres to the guidelines required by the Java TOC Applet.

The voyant_mt_app.pl perl program (called from the 56_nav_script.b shell script) uses these tree.script files to generate m_tree*.script files which are specific to the whole project or whole HTML system. The top-level m_tree.script file nests the individual m_tree*.script files from the sub-projects. Together, this creates the master table of contents for the whole system.

Note: Because the script files for the table of contents are generated and exist independently, the entire HTML system becomes more modular and easier to maintain.



 "TPT User's Guide" 
 < Previous 
 Next > 


Open-Source tools compliments of Voyant Technologies, Inc. and Glenn C. Maxey.
01/13/2003

TP Tools v2-00-0a

# tpt-hug-02