[geeklog-devel] Spellchecking
Tony Bibbs
tony at tonybibbs.com
Fri Aug 8 08:54:43 EDT 2003
Frankly I'm confused by it all. I actually needed aspell and pspell and
the PHP manual says aspell is deprecated and to use the pspell
libraries. I guess instead of just getting it to work I should have dug
into a bit more to understand the relationship and history but I
didn't. Obviously this would be an optional thing and if you don't want
to hassle with it I think I could probably integrate it into the forum
myself if you want. Again, I think we are talking a matter of minutes
not days.
--Tony
Blaine Lang wrote:
>I will give it a try Tony, I expect the biggest challenge is getting the
>libraries installed.
>I see there is a aspell Win32 compiled version so that will help me and many
>others.
>
>I see there are quite a few pspell functions in PHP as well.
>
>Relationship between aspell and pspell, there appears to have been two
>separate projects at one time but does not look like they are active. The
>GNU Aspell (not sure if the team is different) appear to be the new active
>project. Then there is talk about the GNU aspell replacing ispell.
>
>I only see aspell libraries and it appears to be the main spelling project
>now - is that what you understand as well?
>
>Blaine
>----- Original Message -----
>From: "Tony Bibbs" <tony at tonybibbs.com>
>To: "Geeklog Development" <geeklog-devel at lists.geeklog.net>
>Sent: Thursday, August 07, 2003 6:36 PM
>Subject: [geeklog-devel] Spellchecking
>
>
>
>
>>I have created a very simple PHP class that integrates spell checking
>>into a PHP application. I have attached the tarball to this message.
>>After Dirk's bugfix release this weekend I plan on implementing the
>>spell checking as an option in the 1.3.x. This will requiring editing
>>of some or all of GL's editors. I will probably start simple by adding
>>it to the story and comment editors as they already support preview
>>functionality making integration easy. I'm open to suggestions on which
>>of the other editors should have spellchecking capabilities. Any forms
>>which do not support the notion of previewing are going to take more
>>work and we need to balance the power of this with the question of 'is
>>it worth it'.
>>
>>Blaine, as a personal suggestion, I'd love to see spell checking support
>>added to the forum. The attached tarball has a test page in it that
>>would show you basically how it works and I think you will quickly see
>>how easy it really will be to integrate into the forum since you already
>>support the preview concept. This spellchecker class will check the
>>spelling on a bit of text and return that text back with all mispelled
>>words highlighted. You can customize how the highlight works through
>>class methods but it defaults by using a span with a yellow background.
>>It will also insert suggested corrections into the title attribute of
>>the span tag so if you hover your mouse over the highlighted word you
>>will see them.
>>
>>FYI, this spell checker requires apsell/pspell be installed and PHP
>>compiled with the --with-pspell option.
>>
>>Input (and testing) is encouraged.
>>
>>--Tony
>>
>>
>>
>>_______________________________________________
>>geeklog-devel mailing list
>>geeklog-devel at lists.geeklog.net
>>http://lists.geeklog.net/listinfo/geeklog-devel
>>
>>
>
>_______________________________________________
>geeklog-devel mailing list
>geeklog-devel at lists.geeklog.net
>http://lists.geeklog.net/listinfo/geeklog-devel
>
>
More information about the geeklog-devel
mailing list