Plugin Name: Chat Catcher Plugin Description: Displays comments from social media sites captured by Chat Catcher. Requires the WordPress ChatCatcher Plugin (ver >= 3.00). Plugin URL: http://chatcatcher.com Author: swhitley Author URL: https://www.intensedebate.com/profiles/swhitley Date Added: July 15th, 2010 Code: //Acknowledgments: Thanks to Vivek Puri for his work on the 'Blog Tweets' plugin. var chatcatcher_plugin = {}; chatcatcher_plugin.insert_tweets = function(data) { if(data == null) { return; } if(data.results === null) { } else { html = '

Social Trackbacks

'; html += '
'; jQuery.each(data.results, function(i, val) { if(i == 2) { html += '
Show All
' } html += '
'; } html_outer = '
'; jQuery("#idc-cover").append(html_outer); jQuery("#chatcatcher").html(html); }; chatcatcher_plugin.init_plugin = function() { if (typeof jQuery == 'undefined') { var s = document.createElement('script'); s.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'; document.getElementsByTagName('head')[0].appendChild(s); } var link = window.location.href; var tmp0 = link.split('#'); var tmp = tmp0[0]; tmp = tmp.split('?'); tmp[0] = tmp[0] + "/?"; tmp[0] = tmp[0].replace("//?","/?"); tmp[0] += 'chatcatcher_intense_debate=true'; link = tmp[0]; if(tmp.length > 1) { link += '&' + tmp[1]; } var script = document.createElement('script'); script.src = link + '&callback=chatcatcher_plugin.insert_tweets'; document.getElementsByTagName('head')[0].appendChild(script); }; chatcatcher_plugin.init_plugin(); CSS: N/A