This AJAX spell checker seems pretty interesting and functions a lot like Gmail’s. Has anyone written a plugin using it yet?
Categories
This AJAX spell checker seems pretty interesting and functions a lot like Gmail’s. Has anyone written a plugin using it yet?
27 replies on “AJAX Spell Checker”
[…] l This AJAX Spell Checker is awesome! And I agree with Matt, I think someone should develop a plugin for WordPress. That would rock! […]
Ajax spell checker looks nice, Hoping someone write a plugin of it 😀
[…] Sweet AJAX spell checker. Would be phenomenol to see a WordPress plug-in made that makes use of this cause it sure rocks! (via) […]
Working on one now – will be my first plugin. I wont lie, its giving me a bit of … ya. Will post an update soon
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..)
You’d need to start an output buffer and then edit the HTML. Check out how my WYSIWYG plugin does this for guidance.
Be warned that it works in Mozilla 1.7, but not Konqueror 3.1, for example. So it might upset a few… very few.
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 😉
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.
Thanks Matt, will do
This is a very neat little spell checker.
[…] When I woke up this morning I read Matt’s post about the AJAX spell checker and him asking if anyone was going to write a plugin – this sounded like a good opportunity to learn about WP plug-ins. So I’ve written it now and basically it adds spell checking support your WordPress write post page, using AJAX (no refreshing). Its quite nifty but its very beta at the moment and I’m about to check it into svn over at wp-plugins -> fxsp. […]
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
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.
[…] Al Planeta WordPress llegeixo una referència que parla d’un corrector ortogràfic basat en Ajax que pinta força bé, si puc integrar-lo al WordPress ja us ho diré. Cat: Tecnologia, Recursos, Ajax | […]
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.
Apparently someone was quicker than me 🙂
Here is my version of the Ajax spell checker
[…] AJAX Spell Checker. There’s quite a bit of talk on Matt’s blog about building a WordPress plugin which would be fab. Read more here. […]
Thanks for all the suggestions – I’m about to commit v0.2, its a lot neater 🙂 v0.2
Coolies!
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.
MikeT, something like that is very much under development for wordpress.org.
[…] VÃÂa PhotoMatt me entero de la existencia de un corrector ortográfico hecho con Ajax. El autor incluso lo tiene integrado en el formulario de contacto de su página web. […]
You know Safari does this automatically right?
Surely this is a better spell checker? :
http://me.eae.net/stuff/litespellchecker/litedemo.html
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/
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).