if (! ("console" in window) || !("firebug" in console)) {var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; window.console = {}; for (var i = 0; i " + item.title + ""; //add abstract _link += "

"; //add abstract content if first post if (i == 0) { _link += item.description + "… Full story
"; } //manipulate and add date (after objectification) var bDate = new Date(item.pubdate); var cpuDate = new Date(); var fulldate = bDate.toString(); //get day/hour/min var day = fulldate.substr(0,3); var hour = bDate.getHours(); var min = bDate.getMinutes(); //normalization of minutes string if (min < 10) {min = "0" + min;} //add am/pm var ad = " a.m."; if (hour > 12) {hour = hour-12; ad = " p.m.";} _link += "" + day + ", " + hour + ":" + min + ad + ""; //add comments var commcnt = item.comments; if (commcnt == 0) {commcnt = "No"}; _link += "  (" + commcnt + " comments)"; //close abstract _link += "

"; //wrap up markup block _link += ""; //add the individual post content post.append(_link); //stop loop at post index X if ( i == 4 ) return false; }); }); });