This page contains simple information on installing Eva and gives examples to test Eva once it has been installed.
'---cgi-bin
|---eva.exe (this is the CGI itself)
'---evafiles (Eva can only access files in this folder)
|---counter
| |---example.cnt (example hit counter file)
| '---lcd (font used by one or more hit counters)
| |---0.gif
| |---...
| |---9.gif
| '---_.gif (graphic for leading zero in counter)
|---imagemap
| '---example.map (example image map in NCSA format)
|---post
| |---example (example for form posting)
| | |---in
| | |---list
| | |---out
| | |---posts
| | |---readers
| | |---readhead
| | '---readtail
| '---guests (example for guestbook)
| |---in
| |---list
| |---out
| |---posts
| |---readers
| |---readhead
| '---readtail
'---script.eva (the Eva script that does it all!)
The following tests below should work properly. To create your own counters, imagemaps, forms, guestbooks, or outlinks, simply duplicate and rename the example and modify the text files.
Information about a single web page counter is stored in its own file, i.e., example.cnt. This file contains 3 values separated by commas:
counter/example.cnt,counter/lcd/,1
.map into the directory cgi-bin/evafiles/imagemap. This map has NCSA format and may be created using commonly available tools.
Submit the form below as a test and then privately check your forms list.
Please fill out the form below and then click "Send completed form".
You can create your own forms and posting directories by duplicating and modifying the
example directory:example (example for form posting) |---in (the template for information saved in the posts directory) |---list (a comma separated list of files in the posts directory) |---out (the HTML template for response to user after posting) |---posts (the directory containing a file per each post, named by time) |---readers (the file containing ,password1=oldReadCount1,...,) |---readhead (the HTML top that prepends to list of posts when reading) '---readtail (the HTML bottom that appends to list of posts when reading)
You can create your own guestbooks the same way as you'd create your own form posting.
Eva is a full language, and these basic CGIs are simply scripts written in the file evafiles/script. If you're interested, look at this file. You can add your own script at the end of this file.