Files:
webspell is a shell script wrapper to ispell, necessary because ispell requires the HOME environment variable to be set, and setting env(HOME) doesn't seem to work from AOLserver Tcl. It takes two arguments, a filename to be spell checked and a dictionary file of extra words, one word per line.
The file ispell-words is such a dictionary file. The table ispell_words contains the same information as ispell-words, and is kept to make the editing of ispell-words easy. Any additions or deletions are made to the table, then the entire file is regenerated from the table.
One table:
create table ispell_words (
ispell_word varchar(100) primary key
);
To use:
Say you have a form as follows, and you want theMake sure that all scripts are executable and that the UNIX utilityemail_bodyto be spellchecked when the user pushes Submit:Change the action to/tools/spelland specify thevar_to_spellcheckandtarget_urlas follows:The user will have the chance to correct any misspellings and then they'll be redirected, with all form variables intact, to thetarget_url.
ispell is in /usr/local/bin/. Also, the file ispell-words should contain the same words as the table ispell_words (it's fine if they both start out empty).
The lovely spell checker was written by Jin Choi () with some finishing touches by Eve Andersson ().