Next / Previous / Contents / TCC Help System / NM Tech homepage

Table of Contents

1. Requirements
2. Operation
2.1. Finding user homepages
2.2. LDAP considerations
2.3. crontab setup
3. Program source
3.1. The prologue
3.2. Imported modules
3.3. Manifest constants
3.4. createTable(): Set up the XHTML table
3.5. scanAccounts(): Find all homepages
3.6. generateAccounts(): Search LDAP for accounts
3.7. hasHomepage(): Test for the presence of a homepage
3.8. addRow(): Add a row to the result table
3.9. addEpilogue(): Add end comments
3.10. The main program

1. Requirements

This document describes a script for generate a current list of the user homepages at the Tech Computer Center.

What is required is a script that runs periodically to discover which TCC accounts have Web homepages, and generate a page in the www.nmt.edu/tcc structure that has the standard appearance for pages in that structure.

See the online version of this manual, or the print version.