You are not logged in Log in Join
You are here: Home » Members » EIONET » Spell checker that checks webpages » 0.6 » README » View Document

Log in
Name

Password

 

README

README for Spell Checker

This is a spellchecker that checks webpages. You give it the URL you want to check and it displays a list of unknown words with suggestions.

Dependencies

Needs the aspell-python package from http://www.republika.pl/wmula/prog/prog/aspell-python2.1.tar.gz There is a copy with these sources. The aspell-python package needs aspell 0.50.5 or higher.

Needs aspell and aspell dictionaries for as many languages you want to support.

Very likely won't work with Linux older than Fedora Core 2. I gave up on RH9.

Language declarations

The checker will look for language declarations in at number of ways: The lang="en" or xml:lang="en" attribute on any tag in the HTML code. You should declare your baseline language on the <html> tag. Also the Content-Language header line from the HTTP server and any <meta> tag with the attribute http-equiv="content-language".

How does it work?

When you have installed the product you create an object somewhere in Zope's folder structure, say /spellcheck. When you look at that page you can enter a URL to check.

Alternatively you can set up a link to http://yoursite/spellcheck/referer on your other webpages and when you follow the link, the spell checker will check the page you came from.