Account Manager
 

Creating an Entropy Search

This script enables a nice, quick search engine that can help your visitors find information that they are interested in more easily. The larger the site, the more important the search engine becomes.

Warning: This search engine searches all of the ASCII (text) files on your site. This includes HTML, PERL, plain text files, etc. Since there is no way to limit the search engine, if any of these files contain sensitive information, either encrypt the files or remove them from your site. This is a smart move anyway - you should not store sensitive information on your Web site without encryption.

To create an Entropy search engine:

  1. In your Control Panel, click on the CGI Center Icon.

  2. Click on the Rebuild Search Index link under Entropy Search in the CGI Center area. This creates (or recreates) the index file that the search engine uses to find information.

  3. Click on the Back button on your browser and click on the Setup Search Engine link.

  4. Copy and paste the HTML code into your Web page.

  5. Use the Search Query field to test the script.

  6. This is the minimum you need to do to get the script working - upload the file, and you're finished.

Editing the Search Engine Template

You can alter the appearance of the search engine template at any time.

To edit the search engine template:

  1. Click on the Setup Search Engine link in the CGI Center area.

  2. Click on the Edit Search Results Template link.

  3. Copy and paste any HTML code that you want into the template to alter it's appearance.

    Warning: Make sure you do not delete the <cgi> tag. This will cause the script to stop working.

  4. Click on the Save button.

  5. Use the Search Query field to test the script.

  6. Upload the finished HTML page.

Rebuilding the Search Index

You need to rebuild the search engine index whenever you make changes to your site, otherwise the search engine will not be able to find the new material.

To rebuild the search index

  1. Click on the Rebuild Search Index link under Entropy Search in the CGI Center area.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Scripts Library (Views: 2064)

Powered by WHMCompleteSolution