May 14, 2008
Disqus Wordpress Integration: Javascript vs API
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.
If you enjoyed this post, please subscribe to my RSS feed


Subscribe:
Go to:
Same here Scott,
I am sticking to API version for now. At lest on the blogs that I care for the most. Countless times visitors find my blogs through a keyword found in the comments but not in the body of the posts. But there is another thing with API that concerns me- duplicate content penalties. If you have comments here and on your forum over at Disqus, who gets the duplicate penalty? I am not even sure if this is such and important issue, but I have been on the roll over the duplicate content recently. Google Webmaster tolls has been reporting duplicate content as far as metatags concerned - I believe titles, keywords and description. I have increased dramatically the SE rankings just eliminating those dupes.
It's too bad they don't update API version.
I share your concern over the duplicate content, Vlad, though I'm not overly concerned. The actual blog post should help.
Disqus should give an option to put a noindex on their forum pages.
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. reply
record video comment
'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.