WWTK is a web-based tool that allows users to create structured information trails using a wizard-style interface. It simplifies the process of creating complex trails and enables better organization and retrieval of information.
The framework is essentially built around a single script, index.php. It is designed to display data in a 'wizard-like' format, with a set of linked nodes. These nodes are stored in the 'questions.xml' file, which can be easily edited by adding, arranging or deleting questions. Although this may seem initially confusing, it is best thought of as a linked list.
On the other hand, the glossary is stored in a simple text file –toolkit.txt/glossary.inc – which is read as a 'semi-colon separated variables' file. Simply add a line in the appropriate place with the following format: word; definition; url for further information. To keep the glossary organized, it is important to preserve alphabetical order, since this is not done when the values are displayed.
When adding new information to the glossary, you can take advantage of the richInclude and printGlossary functions in the functionlib.php include file. The richInclude function searches through the HTML code looking for keywords in the glossary, adding the corresponding entry at the bottom of the article. Meanwhile, the printGlossary function prints all entries in the glossary, regardless of whether or not they are used. This feature is particularly helpful for the print and report modes of the software.
Any HTML edits must be performed outside the questions.xml file. To ensure compatibility with virtually any server, the XML is parsed within the script, which is less flexible than using a parser. Long snippets of HTML are stored in their own files, which can be found in the ./html subdirectory. There are currently two CSS files available: boldblue2.css is the original, and print.css is optimized for print mode.
In conclusion, WWTK is a reliable, user-friendly software with vast potential for different applications. It is flexible, customizable, and well-organized, with a range of functions to provide a complete and efficient experience. When editing the software, users should preserve alphabetical order when modifying the glossary and be careful to ensure that any HTML meets XHTML strict guidelines.
Version 1.0: N/A