G4ZFE Log Search Applet - How to use the applet

How to use the applet

An example will be used to demonstrate how to use the applet. The example is for G4ZFE, with a web site URL of www.myisp.co.uk/~g4zfe, and logs for

  1. Download a copy of the applet and sortlog program and unzip the search.class applet file.

  2. Create a HTML page for the search applet, say g4zfe_search.html
    In its basic form the page would like this:

    <TITLE>G4ZFE Log Search Page</TITLE>
    <H1>G4ZFE Log Search Page </H1>
    Please use this applet to search the logs of my latest DX-peditions 
    and contest logs.
    <APPLET CODE="search.class" WIDTH=600 HEIGHT=325>
    <param name="log1Name" value="1997 8Q7FE">
    <param name="log2Name" value="1997 IARU">
    <param name="log3Name" value="1997 Field Day">
    <param name="URL1Name" value="http://www.myisp.co.uk/~g4zfe/logs/8Q7FE/">
    <param name="URL2Name" value="http://www.myisp.co.uk/~g4zfe/logs/97iaru/">
    <param name="URL3Name" value="http://www.myisp.co.uk/~g4zfe/logs/97fd/">
    <EM> Sorry but the search applet requires a java aware browser.</EM>
          1. The parameters "log1Name" to "log3Name" are used to name 
             the checkboxes in the GUI. There can currently be a maximum 
             of 6 such checkboxes in this applet.
          2. The parameters "URL1Name" to "URL3Name" specify the location 
             on the server where each of the logs are to be found. Note 
             in this case a directory "logs" has been created with a 
             sub-directory (e.g "97iaru") for each of the log files. Note 
             that the "/" character at the end of the URL is required.
  3. Upload the following files to your web site in binary mode:

    1. g4zfe_search.html;
    2. search.class;

    The above files should be in the same directory on your web site.

  4. Create a directory called "logs" on your web server. Under the "logs" directory create four sub-directories - "8Q7FE", "97iaru" and "97fd". Note that the directory names are (usually) case sensitive.

  5. Convert the 8Q7FE logs (in the file "8Q7FE.log"). For example, at the DOS prompt type "sortlog 8Q7FE.log". 36 files ('A.TXT' to 'Z.TXT' and '0.TXT' to '9.TXT') will be created.

  6. Upload the created .TXT files to the "logs/8Q7FE" directory on the server. Ensure that the filenames stored are either all lowercase or all uppercase and not a mix.

    (Tip:if you are using a command line FTP client program type "prompt y" and then "mput *.TXT" to automate the process).

  7. Repeat the above two steps for the 97iaru and 97fd logs.

  8. Test the applet on-line.

Applet parameters