MediaWiki:Disqus.js

$(document).ready(function {

$commentDiv = $("#comments"); $.get("https://disqus.com/api/3.0/forums/listPosts.json?forum=cflib&limit=10&related=thread&api_key=vSK5ndtqzaZGn4aEsYsR9xCrV1z656kxT0VODoLLbCOQvFQezy6wtBWNe9Jy3GW4", function(res, code) {		//Good response?		if(res.code === 0) {			var result = "";			for(var i=0, len=res.response.length; i";				html += "" + post.author.name + "";				html += " "+post.raw_message+" ";				html += "Posted at " + post.createdAt + " on " + post.thread.title + " ";				html += " ";				result+=html;			}			$commentDiv.html(result);		}	}); });