next up previous contents index
Next: Defined Variables Up: 5.4 Customizing the Broker's Previous: 5.4 Customizing the Broker's

5.4.1 The BrokerQuery.cf configuration file

 

Definitions are enclosed within SGML-like beginning and ending tags. For example:

        <HarvestUrl>
        http://harvest.cs.colorado.edu/
        </HarvestUrl>

The last newline character is removed from each definition, so that the above becomes the string ``http://harvest.cs.colorado.edu/.''

Variable substitution occurs on every definition before it is output. A number of specific variables are defined by BrokerQuery.pl.cgi which can be used inside a definition. For example:

        <BrokerDown>
        Sorry, the Broker at <STRONG>$host, port $port</STRONG>
        is currently unavailable.  Please try again later.<P>
        </BrokerDown>

When this definition is printed out, the variables $host and $port would be replaced with the hostname and port of the broker.



Duane Wessels
Wed Jan 31 23:46:21 PST 1996