next up previous contents index
Next: 5.5 Administrating a Broker Up: 5.4 Customizing the Broker's Previous: 5.4.2 Example BrokerQuery.cf customization

5.4.3 Integrating your customized configuration file

The BrokerQuery.pl.cgi configuration files are kept in $HARVEST_HOME/cgi-bin/lib. The name of a customized file is listed in the query.html form, and passed as an option to the BrokerQuery.pl.cgi program.

 

The simplest way to specify the customized file is by placing and <INPUT> tag in the HTML form. For example:

        <INPUT TYPE="hidden" NAME="brokerqueryconfig" VALUE="custom.cf">

Another way is to allow users to select from different customizations with a <SELECT> list:

        <SELECT NAME="brokerqueryconfig">
        <OPTION VALUE=""> Default
        <OPTION VALUE="custom1.cf"> Customized
        <OPTION VALUE="custom2.cf" SELECTED> Highly Customized
        </SELECT>



next up previous contents index
Next: 5.5 Administrating a Broker Up: 5.4 Customizing the Broker's Previous: 5.4.2 Example BrokerQuery.cf customization



Darren Hardy
Mon Apr 3 15:22:37 MDT 1995