NAME
ROADS::LookupRender - A class to render HTML resulting from a cluster lookup
SYNOPSIS
use ROADS::LookupRender;
# Do a WHOIS++ search or three, then ...
lookuprender($query, $view, @results);
DESCRIPTION
This class defines a mechanism for rendering WHOIS++ templates as HTML - or other formats, though HTML is the primary goal.
METHODS
lookuprender( query, view, @results );
- query
-
The WHOIS++ query which generated these results.
- view
-
The view to use when rendering the results - many of the ROADS tools which generate HTML support multiple versions or 'views' of the same data using different HTML rendering rules.
- results
-
This is a list of results in the format produced by the wppd code in the ROADS::WPPC class.
FILES
config/multilingual/*/mktemp/notemplateoutline.html - if no template outline (schema definition) could be found.
config/lookupcluster-views/* - directory containing HTML rendering rules for each cluster type.
BUGS
We're not using the generic HTML rendering code for this, but we should be.
SEE ALSO
COPYRIGHT
Copyright (c) 1988, Martin Hamilton <martinh@gnu.org> and Jon Knight <jon@net.lut.ac.uk>. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
It was developed by the Department of Computer Studies at Loughborough University of Technology, as part of the ROADS project. ROADS is funded under the UK Electronic Libraries Programme (eLib), the European Commission Telematics for Research Programme, and the TERENA development programme.
AUTHOR
Jon Knight <jon@net.lut.ac.uk>, Martin Hamilton <martinh@gnu.org>