© University of Kent - Contact | Feedback | Legal
The University of Kent, Canterbury, Kent, CT2 7NZ, T +44 (0)1227 764000
Courseware requires the application of a coherent document layout (templates) for each page, and also the use of standard icons with a consistent functionality, in order to create a constant look and feel throughout the material. This provides the user with an environment where he or she can access new pages, and instantly recognise the format used, making the extraction of the information on the page much quicker, and less immediately confusing.
This paper describes a system that was developed at UKC to provide a solution to the above problems via the introduction of HTML macros. These macros can be used to provide a standard document layout with a consistent look and feel, as well as tools to ease user navigation.
The software is written in Perl, and achieves macro expansion and replacement using the Common Gateway Interface (CGI) and filtering the HTML source.
Using macros in your HTML results in your document source code being shorter, more robust, and more powerful. Webs of documents can be built extremely fast and maintenance is made much simpler.
Keywords: Authoring, Automation Tools, Perl filters for HTML,
Teaching and learning on the Web
Download publication
148 kbytes
@techreport{51,
author = {Andrew Peel},
title = {{HTML} {M}acros -- {E}asing the {C}onstruction and {M}aintenance of {W}eb {T}exts},
month = {January},
year = {1996},
pages = {},
keywords = {},
note = {},
doi = {},
url = {http://www.cs.kent.ac.uk/pubs/1996/51},
address = {University of Kent, Canterbury, UK},
hensa_abstractfilename = {pub/misc/ukc.reports/comp.sci/abstracts/4-96},
hensa_ftpaddress = {unix.hensa.ac.uk},
hensa_reportfilename = {pub/misc/ukc.reports/comp.sci/reports/4-96.ps.Z},
institution = {University of Kent, Computing Laboratory},
number = {4-96*},
}