Some time ago XXX YYYYYYYYYY sent me a perl script that produces, analyses and graphs the Oxford Capacity Analysis test (X.Y. asked explicitly to *not* be credited, but I can hardly take the programming credits myslf, can I?). I have tested the script under Linux and WinNT with excellent results, and we used it successfully at the Amsterdam demo not long ago (see picture of our OCA table at http://www.xs4all.nl/~oracle/demo/corner.html ).
The script is now available for download from my homepage. If you run your own webserver or if your ISP allows you to run your own CGI scrpts, it is trivial to make your own public interactive OCA page. And since the OCA is the first instrument that the CoS uses to sucker its prospective victims, exposing it publicly can do a ton of good.
If you want to run it, download the following files:
http://www.xs4all.nl/~oracle/oca-en.pl (OCA in English)
http://www.xs4all.nl/~oracle/oca-nl.pl (OCA in Dutch)
http://www.xs4all.nl/~oracle/OCA.java (graph applet source)
http://www.xs4all.nl/~oracle/OCA.class (graph applet binary)
Place oca-en.pl and/or oca-nl.pl in your cgi-bin directory and (for UNIX) make sure that they are executable. Very close to the top of the scripts you will find the following lines:
# You might want to change these two lines:
my $appletargs = 'codebase="/oca" code="OCA.class" width=550 height=250';
my $mainpage = "http://www.b-org.demon.nl";
Adjust the "codebase" path to point to the directory where the applet resides, which can be just any directory below the web server's document root. Adjust the "mainpage" path to point to your CoS index page or any other page where you want to send the user after he has done the test.
Place the OCA.class applet in the codebase directory that you
specified above. That's all. The URL to the OCA test will be
http://your_server/cgi-bin/oca-en.pl and .../oca-nl.pl respectively.
If you want to change the size, colour, and/or looks of the graph,
make your changes in OCA.java and recompile it. If you don't have
a Java compiler, mail me the adjusted source and I'll compile it
If you download the code on a Windows machine and then use it on a UNIX server, you are bound to get problems with Windows' LF/CR.
Work around this either by downloading straight to the machine where you are going to use the scripts or by using the CR-stripper at http://www.xs4all.nl/~oracle/fixcrlf.exe (found at an Australian ISP's help page, but I forgot where).
If you are running a Windows web server, you will most probably need the full Active Perl from http://www.activestate.com/Products/ActivePerl/Download.html .
Note that you **first need to install the installer InstMSI.exe**
and only then you can install Perl itself. On a WinNT server
you might also need to make sure that Perl has write permission
to the web server's TMP directory.
mailto:firstname.lastname@example.org?subject=OCA_help_request (24/7/365 :)
As usual, the CoS is going to scream about infringements. However, the available information raises severe doubts on whether the CoS owns the copyrights to the OCA. If you need some kind of (feeble) protection, you can put a note on your OCA page making me the owner and maintainer of it.
Further information about this can be found on
Will you let me know if you offer the test?
oracle@everywhere: The ephemeral source of the eternal truth...