This AJAX spell checker seems pretty interesting and functions a lot like Gmail’s. Has anyone written a plugin using it yet?
This AJAX spell checker seems pretty interesting and functions a lot like Gmail’s. Has anyone written a plugin using it yet?
Ajax spell checker looks nice, Hoping someone write a plugin of it 😀
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.
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.
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
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.
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).