The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

admin-cgi/lookupcluster.pl - search WHOIS++ servers for template clusters

SYNOPSIS

  admin-cgi/lookupcluster.pl [-c] [-C charset] [-L language]
    [-l logfile] [-o outlines] [-p protocols]
    [-u myurl] [-v view] [-w waylay_url]
 

DESCRIPTION

This Perl program is run behind the scenes by the ROADS template editor, when performing searches for cluster information to embed in templates which are being created or edited.

OPTIONS

These options are intended for debugging use only.

-C charset

The character set to use.

-L language

The language to return.

-c

Whether to consider case, off by default.

-l logfile

Logfile to record hits from queries in, default is lookupcluster-hits in the ROADS logs directory.

-o outlines

Where the template outlines live.

-p protocols

Protocol schemes to override using the waylay program.

-u myurl

URL of this program, default is lookupcluster.pl in the nominated CGI executables directory.

-v viewdir

Result views directory - specifications for how templates should be rendered.

-w waylay_url

The URL of the waylay.pl program, which sits between result listing and object rendering into HTML.

CGI VARIABLES

caseful

Boolean variable which indicates whether searches should consider case or not.

charset

The character set to use.

debug

Boolean variable which controls whether debugging output is returned in the HTML which is rendered to the end user.

highlight

Boolean variable which controls whether occurences of the search terms in the search results should be highlighted.

language

The language to use.

query

The query itself.

stemming

Boolean variable which controls whether stemming is performed on the query. See the documentation for search.pl for more information about this.

type

The cluster name and variant number which is being searched for.

templatetype

Template type to search for.

SEE ALSO

"search.pl" in cgi-bin, "admin.pl" in admin-cgi, "mktemp.pl" in admin-cgi

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.

AUTHORS

Jon Knight <jon@net.lut.ac.uk>, Martin Hamilton <martinh@gnu.org>