Now even though that having QuickTag toggled FCKeditor (ChenPress) allows wp-spellcheck to work, I have some recent findings on the net that make DHTML/XMLHttpRequest/AJAX spellcheck thats makes me excited.
At first, Purely dhtml spell check would be ispell (for IE) and those integration of spellcheck plugins for WYSIWYG Editors (MudBomb, HTMLArea, FCKeditor…), but now…
1. See this very cool DHTML spellcheck which check your spelling while u type (like word, something i wanted in the first few posts in my blog)
http://me.eae.net/archive/2005/05/27/dhtml-spell-checker/ and its demo
Its code is implemented via js and cgi perl and aspell. (shouldnt be a problem if you want to port it to php)
2. This implementation done using some ajax library (CPAINT or SAJAX) and php (and pspell [with aspell wrappers])
Usage: click spell check to start the spelling check (like gmail’s)
3. Of this AJAX SpellChecker mention in 2, a wordpress plugin was then packaged by m0n5t3r (http://exotic4.nipne.ro/~iacobs/work/wordpress-plugins/ajax-spell-checker/)
4. A nice working implementation of a Ajax spell check that should not be forgotten is the Spell check included in Gmail.
5. I modified the ajax spellcheck mentioned in 3 and 2 and then packaged and place it here. Download it here.
- Just copy, activate and you get your spell check activated for writing posts and comments
More info here.
- The nick m0n5t3r is a form of 1337(leet) jargon
- Using eAccelerator (improved of mmCache) and free/better alternative to Zend Accelerator does seems to speed up my php pages alot (each page is served ~1s compared to 4s) by caching compiled php.
Note: Click on Check Spelling to do the spell check.
Another AJAX idea.
So I named it Live Sidebars. As in my later post. I started using SAJAX and after 2 days I gave it up (using it as a plugin), although I made some progress showing/hidding using ajax. Then I went on to do “Live ‘Posts’”using sack.
Now for some sites which have codings for expanding/contracting or showing/hidding items here are some.
A show hide (sidebar) gadget. Works using cookies and server side programming.
More Info tabs. Which was inspired by
Look at the cool sliding “more infos”
So, already so many implementations out there using show/hide. But no ajax yet, does that means there’s no need for it?
Mail increased their storage for me!
I have tried out 2 WYSIWYG Editors Plugins for WP.
1 is based on HTMLArea, another TinyMCE. Both are not bug free, so what would be the best choice?
Do it like the dreamweaer style split view, 1 textareaÂ to show the WYSIYG editor, another the html source.
I still like the quicktags thingy and maybe some winks and smiley.
I’m taking a look at the latest mce editor and fckeditor and maybe freetextarea (and their plugins) to see what could be the best scenario.
As usual, some other wp user would have more experience that i do. FCKEditor as WYSIWYG Editor for WordPress
So I’m still inside it.
To ponder upon.Â What if 2 WP plugins uses Sajax? or just even 2 wp plugins using ajax? now there seems to be no/or some problems as most are using different individual libraries. How can i fuse them together? Will there be a need for SAJAX for WP again?
From the author of Twilight Universe, he created at least 2 good plugins. Touched and Autosave.
Here from his Sack of Ajax, he points out why he chose to use his own library over sajax or dojo.
I’m silly to be trapped by my own contraints spending my whole night on a single library. Its time to for a change, I wanna create application as fast as ajax, there are better stuff to do.
[testing touched – is there touched for nested comments?]
My first attempt at creating a WordPress for Sajax … failed.
Download it if you like but dont think it will work.
I failed to do understand how it works before jumping in to create a plugin. Serves me right. The design of sajax is such simple in a way you would include in every file rather than a plugin.
So much for my first attempt at creating a plugin.
These are ideas for AJAX.What ideas can be used for wordpress or its plugins? As perhaps mentioned before
- Spell check
- More accurate post read counter or habits tracking
- Auto saving while creating post
- Read More under posts
AJAX plugins certainly do not appear in dreams. Current examples are
- Live Calendar
- Suggest / Live Search
- AJAX Shoutbox (WordSpew)
- Count My Clicks
- WordPress Touched
In a comment to my previous post Navigation Calendar, I mentioned encountering problems using LiveCalendar when accessing my blog from different domains.
And as I noticed, for many google sites that require ajax, they would redirect you to their perferred domain, thats where I thought a redirection would be a easy fix.
The addition of the redirection script was also a copy and paste from http://www.chami.com/tips/internet/040598I.html
Now try the alternate urls for my blog
And you get redirected to my preferred url, so LiveCalendar seems to work without problem.
See my modifed kcalendarscript.phps source.
Possible next stop? auto-detection of permalinks for LiveCalendar.