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

cgi-bin/waylay.pl - generate a page of HTML for a given URL protocol scheme

SYNOPSIS

  cgi-bin/waylay.pl [-C charset] [-L language] [-u myurl]

DESCRIPTION

This Perl program is intended for use when rendering ROADS database records which make use of unusual or bizarre protocol schemes. For example, the wais protocol scheme is not widely supported, and the mailto protocol scheme has no attached semantics to tell the user whether they are going to be dealing with a human being or a software agent.

It is assumed that the software which generates URLs referencing this program knows whether or not there is a page of HTML which may be used to describe the protocol scheme in question.

OPTIONS

These options are intended for debugging use only.

-C charset

The character set to use.

-L language

The language to return.

-u myurl

The URL of this program, if not passed as CGI variable - default is waylay.pl in the nominated CGI executables directory.

CGI VARIABLES

charset

The character set to use.

language

The language to return.

myurl

The URL of this program - default is waylay.pl in the nominated CGI executables directory.

FILES

config/protocols - list of protocol schemes to waylay and message files to return

config/multilingual/*/waylay/*.html - per-protocol explanations

FILE FORMAT

The file config/protocols is line oriented, with two fields on each line, colon delimited:

Protocol name, e.g. wais
Message filename, e.g. wais.html

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

Martin Hamilton <martinh@gnu.org>