The Senate on Thursday opened a contentious debate about striking down the long-standing filibuster rules for most presidential nominations, with Democrats appearing poised to do so on a party-line vote that would alter nearly 225 years of precedent.
'; function init(){ setInterval(updateFeed,30000); loadFeed(); } function getLinkHTML(post){ return headlineTemplate.replace("{{link}}",post.link) .replace("{{timestamp}}",getTimestamp(post.timestamp)) .replace("{{title}}",post.title); } function formatJSONDate(date){ return (date + (new Date().getTimezoneOffset()*60))*1000; } function getCachebustingToken(){ var cacheToken = (new Date()).valueOf(); return Math.floor(cacheToken/(cacheBustingInterval*1000))*cacheBustingInterval; } function loadFeed(){ $.ajax({ type: "GET", url: dataSource + getCachebustingToken(), dataType: dataType, cache : true, jsonpCallback: callbacks.liveblogFeedLoaded, success: callbacks.liveblogFeedLoaded }); } function liveblogFeedLoaded(data) { var postsData = [], postsHTML = []; if(dataType === "xml"){ //parse data from rss feed $(data).find("item").each(function (index, item) { postsData.push({ link : $(this).find("link").text(), timestamp : $(this).find("pubDate").text(), title : $(this).find("title").text() }); }); } if (dataType === "json"){ //parse data from json liveblog feed for (var i = 0; i 7) longTimestamp = true; } lastUpdated = postsData[0].timestamp; $linklist.html(postsHTML.join("")); if (longTimestamp) $linklist.addClass("long"); } function updateFeed(){ $.ajax({ type: "GET", url: dataSource + getCachebustingToken(), dataType: dataType, cache : true, jsonpCallback: callbacks.liveblogFeedUpdated, success: callbacks.liveblogFeedUpdated }); } function liveblogFeedUpdated(data) { var postsData = [], postsHTML = []; if (dataType === "xml"){ //parse data from rss feed $(data).find("item").each(function (index, item) { if($(this).find("pubDate").text() != lastUpdated){ postsData.push({ link : $(this).find("link").text(), timestamp : $(this).find("pubDate").text(), title : $(this).find("title").text() }); } else { return false; } }); } if (dataType === "json"){ //parse data from json liveblog feed for (var i = 0; i lastUpdated){ postsData.push({ link : (data.customFields.permalink) ? postLink+"#"+data.id : postLink+"#"+data.id, timestamp : data.addedTimestamp, title : data.webHeadline }); } else { break; } } } if (postsData.length){ for (var i = 0; i 7) longTimestamp = true; } lastUpdated = postsData[0].timestamp; if (longTimestamp) $linklist.addClass("long"); var animationQueue = []; $.each(postsHTML.reverse(), function(id, value) { var newElem = $(value).prependTo($linklist).hide(); newElem.find("li").css("opacity", 0); animationQueue.push(newElem); }); animateElems(animationQueue); } } function animateElems(elems){ if (elems.length) { var $elem = $(elems.shift()); $linklist.find("div:last").slideUp("slow",function() { $(this).remove(); }); $elem.slideDown("slow",function() { $(this).find("li").animate( { opacity: 1 }, function() { animateElems( elems ); } ); }); } } function getTimestamp(dateString) { var currentTime = new Date(dateString); var hours = (currentTime.getHours() > 12) ? currentTime.getHours() - 12 : currentTime.getHours(); if (hours == 0) hours = 12; var minutes = (currentTime.getMinutes() 11) ? "PM" : "AM"; return hours + ":" + minutes + " " + ampm; } init(); })(jQuery);]]>LiveFilibuster rules debate
'; function init(){ setInterval(updateFeed,30000); loadFeed(); } function getLinkHTML(post){ return headlineTemplate.replace("{{link}}",post.link) .replace("{{timestamp}}",getTimestamp(post.timestamp)) .replace("{{title}}",post.title); } function formatJSONDate(date){ return (date + (new Date().getTimezoneOffset()*60))*1000; } function getCachebustingToken(){ var cacheToken = (new Date()).valueOf(); return Math.floor(cacheToken/(cacheBustingInterval*1000))*cacheBustingInterval; } function loadFeed(){ $.ajax({ type: "GET", url: dataSource + getCachebustingToken(), dataType: dataType, cache : true, jsonpCallback: callbacks.liveblogFeedLoaded, success: callbacks.liveblogFeedLoaded }); } function liveblogFeedLoaded(data) { var postsData = [], postsHTML = []; if(dataType === "xml"){ //parse data from rss feed $(data).find("item").each(function (index, item) { postsData.push({ link : $(this).find("link").text(), timestamp : $(this).find("pubDate").text(), title : $(this).find("title").text() }); }); } if (dataType === "json"){ //parse data from json liveblog feed for (var i = 0; i 7) longTimestamp = true; } lastUpdated = postsData[0].timestamp; $linklist.html(postsHTML.join("")); if (longTimestamp) $linklist.addClass("long"); } function updateFeed(){ $.ajax({ type: "GET", url: dataSource + getCachebustingToken(), dataType: dataType, cache : true, jsonpCallback: callbacks.liveblogFeedUpdated, success: callbacks.liveblogFeedUpdated }); } function liveblogFeedUpdated(data) { var postsData = [], postsHTML = []; if (dataType === "xml"){ //parse data from rss feed $(data).find("item").each(function (index, item) { if($(this).find("pubDate").text() != lastUpdated){ postsData.push({ link : $(this).find("link").text(), timestamp : $(this).find("pubDate").text(), title : $(this).find("title").text() }); } else { return false; } }); } if (dataType === "json"){ //parse data from json liveblog feed for (var i = 0; i lastUpdated){ postsData.push({ link : (data.customFields.permalink) ? postLink+"#"+data.id : postLink+"#"+data.id, timestamp : data.addedTimestamp, title : data.webHeadline }); } else { break; } } } if (postsData.length){ for (var i = 0; i 7) longTimestamp = true; } lastUpdated = postsData[0].timestamp; if (longTimestamp) $linklist.addClass("long"); var animationQueue = []; $.each(postsHTML.reverse(), function(id, value) { var newElem = $(value).prependTo($linklist).hide(); newElem.find("li").css("opacity", 0); animationQueue.push(newElem); }); animateElems(animationQueue); } } function animateElems(elems){ if (elems.length) { var $elem = $(elems.shift()); $linklist.find("div:last").slideUp("slow",function() { $(this).remove(); }); $elem.slideDown("slow",function() { $(this).find("li").animate( { opacity: 1 }, function() { animateElems( elems ); } ); }); } } function getTimestamp(dateString) { var currentTime = new Date(dateString); var hours = (currentTime.getHours() > 12) ? currentTime.getHours() - 12 : currentTime.getHours(); if (hours == 0) hours = 12; var minutes = (currentTime.getMinutes() 11) ? "PM" : "AM"; return hours + ":" + minutes + " " + ampm; } init(); })(jQuery);]]>LiveFilibuster rules debate
