Jun
6
6
AJAX Spell Checker
Filed under: Asides | June 6th, 2005
This AJAX spell checker seems pretty interesting and functions a lot like Gmail’s. Has anyone written a plugin using it yet? (27)
This AJAX spell checker seems pretty interesting and functions a lot like Gmail’s. Has anyone written a plugin using it yet? (27)
Pingback: skebrown » Blog Archive » AJAX Spell Checker
David Gonzalez | June 6th, 2005 @ 7:56 pm
Ajax spell checker looks nice, Hoping someone write a plugin of it
Pingback: jarkolicious » probes » AJAX Spellchecker
fx | June 6th, 2005 @ 9:32 pm
Working on one now - will be my first plugin. I wont lie, its giving me a bit of … ya. Will post an update soon
fx | June 6th, 2005 @ 9:35 pm
okay I have it working, nicely written by broken-notebook - but it requires some editing of admin files atm :/ Is there a way to append an onsubmit to the edit and and onFocus to the textarea? (can’t find it on the codex..)
Matt | June 6th, 2005 @ 9:46 pm
You’d need to start an output buffer and then edit the HTML. Check out how my WYSIWYG plugin does this for guidance.
Roy Schestowitz | June 6th, 2005 @ 10:02 pm
Be warned that it works in Mozilla 1.7, but not Konqueror 3.1, for example. So it might upset a few… very few.
fx | June 6th, 2005 @ 10:08 pm
Okay, and so I have “made” my first wp plugin. fxsp.tbz (its about 10k) - this is ALPHA and really messy. I have to go to work now and its pretty early, but hopefully someone will post some useful (and more intelligent) suggestions/code and I’ll finish it up all nicely later on.
Thanks for the help with the buffering Matt, nice trick.
There is a small readme, but basically just
cd wp-content/plugins && tar yxvf fxsp.tbz
then enable it in the plugins page. Plz note no feedback is going to be ignored, as this is a first :/ Also any users please don’t post about it yet, I’ll make a post here once I’ve released it
p.s. I hope you don’t mind me posting it here Matt, I’m pretty sure more intelligent people read your blog than mine atm though
Matt | June 6th, 2005 @ 10:10 pm
No problem at all! Why don’t you send a request from wp-plugins.org and I’ll set you up a repository so you can track the changes being made to the plugin. It would also give you an automatically generated ZIP download.
fx | June 6th, 2005 @ 10:27 pm
Thanks Matt, will do
Adam Bouskila | June 6th, 2005 @ 10:56 pm
This is a very neat little spell checker.
Pingback: Entropy » fxsp: WordPress AJAX Spell Checker Plugin
fx | June 6th, 2005 @ 11:01 pm
alright guys, Matt has set me up the repo -> fxsp@wp-plugins. Thanks Matt - I’ll be adding support for comments and options pages and the lot after work
Matt | June 6th, 2005 @ 11:05 pm
Groovy, you might want to try tweaking the code so the include (use include instead of require) and the ob_start hack are only triggered on the pages they should be within wp-admin.
Pingback: volldamm.net » Corregint els formularis amb AJAX
Mathias Bynens | June 7th, 2005 @ 2:47 am
Nice work, Dave! Some suggestions though (you said we could post them, right? ;)) Why not use single quotes for your PHP coding? They’re faster than using double quotes, and much easier to work with in situations like:
function fxsp_script() {echo ("
<script src="/wp-content/plugins/fxsp/spell_checker.js" type="text/javascript"></script>
<script>");
sajax_show_javascript();
echo ("</script>");
}
How about this instead?
function fxsp_script() {global $siteurl;
echo '<script src="' . get_settings('siteurl') . '/wp-content/plugins/fxsp/spell_checker.js" type="text/javascript"></script>
<script>");
sajax_show_javascript();
echo '</script>';
}
Anyway, you’re doing a great job. Ajax rocks. This script rocks. WordPress rocks. This plugin rocks. You rock.
m0n5t3r | June 7th, 2005 @ 3:08 am
Apparently someone was quicker than me
Here is my version of the Ajax spell checker
Pingback: BD4D - A blog about life and working in the web design and development industry
fx | June 7th, 2005 @ 5:29 am
Thanks for all the suggestions - I’m about to commit v0.2, its a lot neater
v0.2
Tom | June 7th, 2005 @ 2:01 pm
Coolies!
MikeT | June 8th, 2005 @ 1:21 pm
It might be a good idea to try to solicit funds for setting up a fund to do bounties for those who complete such a feature. I’ve probably donated about $20-$30 and would be willing to give up another $20-$30 for such a fund even though I’m a poor college student.
Matt | June 8th, 2005 @ 1:27 pm
MikeT, something like that is very much under development for wordpress.org.
Pingback: La Taberna del Turco » Posts antiguos » Corrector ortográfico para AJAX
Sparticus | June 13th, 2005 @ 2:10 am
You know Safari does this automatically right?
Chris | August 16th, 2005 @ 6:19 am
Surely this is a better spell checker? :
http://me.eae.net/stuff/litespellchecker/litedemo.html
Matthew Delmarter | February 4th, 2006 @ 4:00 am
I have created a new AJAX Spell Checker using the Broken-Notebook codebase. Nice and easy to use. See a demo and download the plugin for WordPress 2.0 here:
http://matthew.delmarters.com/weblog/visual_spellcheck/trackback/
4mir Salihefendic | April 12th, 2006 @ 5:53 pm
I have done a full-blown Ajax based Spell check that people should check out: http://amix.dk/projects/?page_id=3. The code is free. It’s interactive and supports 11 languages. It’s based on the Google spell checker.
I also use this spell checker on my online spell service: http://orangoo.com/spell/ (which supports 16 languages, and counting).