Mirroring the CEDICT Web Interface July 20, 2005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  First download and uncompress the Unicode CEDICT file from the
CEDICT site at: http://www.mandarintools.com/download/cedictu8.zip .
Put this file in the same directory where the wordlook.pl CGI program
will run.  This dictionary file is updated regularly, so please check
for the latest version to make sure that the interface results are as
current as possible.  Your server needs to support CGI for this script
to work.  Contact your service provider for more information on CGI on
your server.

  Included in this distribution are the HTML form for entering the
dictionary query and the perl script for responding to the query.  The
following changes to these files will need to be made to fit your
local server:

worddict.html
 - Change the ACTION attribute in the FORM tag on line 73 to point to
where you will install the perl file wordlook.pl on your server.

wordlook.pl
 - You need at least Perl5 to run the script.  Please install it or
ask your service provider to install it if it is not alreay there.
See http://www.perl.com for details on where to find and how to
install perl.
 - You will need the cgi-lib.pl perl module.  This comes with the Perl5
distribution as far as I know, so you probably will not have to worry
about it.  If you don't happen to have it, you can also go to
http://www.perl.com for information on downloading and installing it.
 - Change the first line of the script to reflect the location of perl
on your system.
 - The name of the dictionary file on line 160 (cedict_ts.u8), may
need to have some capitalization changes to exactly match the names of
the files downloaded from the CEDICT home page.  Make sure the file is
installed in the same directory as where the script will run.
 - You'll need to change the value of the ACTION attribute on line 365
 to point to the location of the script on your server.
 
   That's all the changes I can think of to make the HTML form
and the perl script work on your server.  You might need to
contact your ISP to find out if you have access to CGI on your
account and how to use it.  Please refer specific questions about
using CGI on your account to your ISP.  I am happy to answer
questions (and take suggestions) about the CEDICT web interface
and its operation.  My e-mail is erik@mandarintools.com.  You
can see my other Chinese tools at http://www.mandarintools.com

   After you install the mirror site, please e-mail me with 
the URL.  I'll add it to the mirror links listed on my web site.

Erik Peterson