Members

Note: You can use your Sitellite.org account here and vice versa.

Username

Password

Remember Login

Forgot your password?

Not a member? Click here to register

Spell Checker

Home Page | All Pages | Recently Revised | Authors | Feeds |

The XedEditor version 2 features a multi-lingual spell checker, which must be configured to use. The spell checker requires either PHP's Pspell extension or the Aspell command-line utility to be installed and accessible.

The spell checker has four configuration options found in the file inc/app/xed/conf/properties.php. These are:

pspell_location

This is the location to the Aspell command-line utility. If the Pspell PHP extension is installed, this utility is not needed and the spell checker will automatically use the correct one.

pspell_save_suggestions

This determines whether you'd like to cache results from the Aspell command-line utility to the database. The reason for this is that communication with command-line utilities is very slow, so this can speed up spell checking immensely.

The first time the spell checker runs, it will use the Aspell utility for all words, then the next time, any words spell checked before will be in the database and won't need to be sent to the command-line again.

The one downside to this is that it increases the number of queries performed on the MySQL database, which can potentially slow other aspects of the web site for a brief moment.

pspell_languages

This is a list of languages that can be spell checked by your Aspell/Pspell installation. Each one needs a language code, the name of the language as will be displayed by the spell checker, and the character set encoding to use to render the language.

Please note that the dictionaries for these languages must be installed correctly on your server in order for them to be used.

pspell_default_language

This is the language code of the default language to spell check for.

Created on April 23, 2005 11:36 AM by lux

Linked from: Xed Editor