Paged Comments: Ajax Style!
I’m late on the Ajax bandwagon—and still not sure if I really want to be on it—but I thought it was about time to see what all the fuss was about. So, seeing as I have nothing better to do this Christmas, I went and grabbed CPAINT and have spent my time hacking away on a very flaky and highly experimental Ajax implementation of my Paged Comments plugin. It’s not (yet) as fancy and exciting as some of the Ajax demos available on the web, and may not even work for some of you, but at least it’s a start!
Initial thoughts:
- Love the tiny HTTP response produced—returning anything other than the requested comments now seems overkill
- Without providing a ’show-all’ link, the comments cannot be reached by search engine spiders
- I could keep the existing behaviour and include a ’smart’ Ajax mode which would kick in when a capable browser is detected—maybe using Javascript to rewrite comment-page URLs, pointing them to the Ajax function instead
I’ll probably add to these as I come across problems. In the meantime, try Paged Comments, Ajax style!
There’s plenty of discussion on Ajax floating around on the web. I’ll be adding links to interesting ones I come across (mainly as a reminder to myself to read them).
Update (2005-12-24): Now using script.aculo.us for fancy effects better interaction feedback.
Thanks for the interest everyone.
I really wish I could release it, and I would if it was in a form that I could package up and release. But to be honest I haven’t had time to work on it. There’s no easy way I can work the Ajax code into the current version of the plugin, so, until I find more time, I don’t think you’ll be seeing a release anytime soon. Sorry.
Awww comeon gief code
It seems to work, now, release it
Hey guy,
what’s up with the ajax comments???
C’mon dude release the code! It’s been over a year
How situation with script? (:
Hi, is there any progress with this plug-in? I cant wait to use it on my blog
Is there a way to post guestbook entries from most recent to oldest? [ie: start from 14 to 1, instead of 1 to 14]
sk: I’ll be working on it very soon but don’t know when it’ll be ready. The code for the current implementation is pretty ugly and not easy to package up and release - which is why I’ve only got the demo up and no source.
when do you expect to release this to the public?
You’re late? I haven’t even gotten into it yet!
neat stuff
pretty Cool stuff, thanks for developement
[...] The idea for an AJAX enhanced version of paged comments came to my mind when I saw Keyvan’s ajAX paged comments demo, but unfortunately he didn’t make it to a published plugin yet, so I had to reverse engineer the facility in the commonly used clean room way (that means: look what’s going on and then rebuild the functions from scratch). I had to do this especially because I didn’t want a third AJAX library in the theme package, as a single one (prototype) is more than enough power. [...]
FYI: I have succeeded to implement full AJAX enhanced paged comments support into the Binary Blue theme suite - no additional plugin needed
coooool thing…keep on coding…!
cheers,
gris
Nice this Ajax stuff…
I hope this ajax version could be released asap.
I love the idea of ajax enhanced paged comments…
If there’d be a chance to integrate your ajax paged comments code into my “binary blue” wordpress theme, just let me know, and i’ll give it a try.
Wow! Can’t wait.
Can’t wait for this to be release.