May 14, 2008
Disqus Wordpress Integration: Javascript vs API
If you're new here, please subscribe to my RSS feed. And follow me on twitter. Thanks for visiting!
Today, Sam over at CostPerNews scooped the world on the news that the Seesmic/Disqus integration is finally complete. Sam, are you following Loren as Loic’s most recent houseguest?
The guys over at Disqus have been delivering some steady improvements to the Disqus platform, and video comments are by far the most significant. Previously, they announced some improved popup profile information as well as inline editing of submitted comments. There may be more that I’ve missed.
I miss these updates because here on Jangro.com because I’m using the Disqus wordpress plugin that is based on their API instead of using Javascript integration to load up the comments. The Disqus guys are not keeping that version of the plugin up-to-date with the new features.
What’s this API version of the plugin? When you integrate with Wordpress, you have two choices of plugins to grab from Disqus.

The Javascript plugin is a “client-side” integration. When your blog post is served up, there’s some javascript code runs in the reader’s browser that goes off and grabs any comments from the Disqus service, very much like how Adsense works. If you look at the source of a page with this on it, you won’t actually see any of the comment text. It’s loaded after the page is rendered using Javascript code that fetches the content from Disqus.
The API, Beta version does this calling to the Disqus service on the server-side, before the page is sent down to the browser. This means that the comment text gets sent down as HTML along with the blog post.
If you’ve followed my love affair with Disqus, you know that it started with an evaluation of third party comment system plugins. A major factor, if not THE major factor, that had me choose Disqus was this server-side integration.
In my opinion, comments are the life-blood of an active blog and not only do they show readers that there’s a vibrant community behind a blog, it gives search engines more to work with. This becomes especially important as the blog content itself becomes less and less text-rich with video and audio podcasts.
Search engines cannot see the comments rendered with the Javascript plugin. They do see the comments displayed via the API version of the plugin.
The Javascript implementation does have its benefits. In addition to ease of integration and feature updates, the fact that comment text is unavailable to search engines means that comment spam is rendered completely ineffective. There are other ways to accomplish this, and for now, I’m uncomfortable with using a full Javascript implementation.
I may change my mind down the road, especially if the Disqus guys abandon the API version of the plugin and force a decision on me.
I do hope the bring it up to date and give us the choice.




I agree with you that comments are getting more important these days. Thats why its important to present your article in such that it generates discussion, rather than just allow the readers to just take and not give.
yea some good discussion might bring up a whole new insight to a article.
I prefer API than Javascript. You have an excellent post here, very informative
Just saw this on Twitter from Disqus' @danielha:
“danielha: @duncanriley I agree. Looks like you're using the (outdated) API version. A new one is imminent”
Nice. good news Sam.
C'mon Daniel, spill it!
Looks cool, but I'm getting worried about putting yet another WP plugin on my site.
'In my opinion, comments are the life-blood of an active blog and not only do they show readers that there’s a vibrant community behind a blog, it gives search engines more to work with.'
Agree with this.
[...] I installed the JavaScript version. Vlad uses the API for SEO purposes (javascript comments are not indexed by the search engines). Disqus says the API is out of date. Thus, is does not support recent enhancements, like the Seesmic video integration. Alas. Undecided on which one to install? Read this post and decide. [...]
os engines…
This enables authors to keep track of who is linking to, or referring to their articles. One notable blogging tool that does not support…
Did you remove disqus? If so, why did you do it?
I did remove disqus because it was crashing Internet Explorer on a few posts here on my blog that have over 1000 comments.
I’ve spoken to the guys at Disqus and they’re working on it. As soon as it is fixed, I’ll gladly put it back.
Wow thanks man excellent post
[...] Disqus Wordpress Integration: Javascript vs API | Jangro.com. [...]
i believe can settle
I decided to using this serivce. It reallly nice
why u remove disqus?
We wait the progress
Better than the other service, really nice!
Yes I will try to use this service. thanks for sharing