Multiple IntenseDebate Comment Counts

Posted by Aristotle on Stack Overflow See other posts from Stack Overflow or by Aristotle
Published on 2010-04-30T04:41:42Z Indexed on 2010/04/30 4:47 UTC
Read the original article Hit count: 279

Filed under:

I just setup IntenseDebate on my blog this evening and am, for the most part, pleased with it. One thing I did see is that they offered me a small snippet to show the current number of comments:

<script>
var idcomments_acct = 'abcdefgef12345678mykey8675309acdc';
var idcomments_post_id;
var idcomments_post_url;
</script>
<script type="text/javascript" 
        src="http://www.intensedebate.com/js/genericLinkWrapperV2.js"></script>

This is nice, but what I would like to do is have something similar on my archives page where many posts are listed - not just one. Presently the page looks like this:

  • Some Post Title
    Author Name
    Short abstract from this post...

  • Some Post Title
    Author Name
    Short abstract from this post...

I would like it to look like this:

  • Some Post Title
    Author Name
    Short abstract from this post...
    7 Comments

  • Some Post Title
    Author Name
    Short abstract from this post...
    3 Comments

But I'm not exactly sure how I can do this with IntenseDebate. Do they offer any sort of method to gather the total number of comments for multiple pages from a single page?

© Stack Overflow or respective owner

Related posts about JavaScript