
jQuery(function($){google.load("feeds","1",{"callback":initializeBR});function sprintf(){if(sprintf.arguments.length<2){return;}
var data=sprintf.arguments[0];for(var k=1;k<sprintf.arguments.length;++k){switch(typeof(sprintf.arguments[k])){case'string':data=data.replace(/%s/,sprintf.arguments[k]);break;case'number':data=data.replace(/%d/,sprintf.arguments[k]);break;case'boolean':data=data.replace(/%b/,sprintf.arguments[k]?'true':'false');break;default:break;}}
return(data);}
if(!String.sprintf){String.sprintf=sprintf;}
function getAge(days,hours){var ageMsg="";if(days>1){ageMsg=String.sprintf("%d days ago",days);}else if(days==1){ageMsg="yesterday ";}else if(days<1&&hours>1){ageMsg=String.sprintf("%d hrs ago",hours);}else if(days<1&&hours==1){ageMsg="in the last hour";}else if(days<1&&hours<1){ageMsg="just recently";}
return ageMsg;}
function addAge(feed,bookmark,anchor,divID,previewtoggle,last_posttitle){var $li=$(bookmark),$a=$(anchor),$toggle=$(previewtoggle),$title=$(last_posttitle),now=(new Date()).getTime(),then=(new Date()).getTime(),ageInDays,ageInHours,randomAge,ageMsg=[],$snippet,entry;entry=feed.entries[0];try{then=new Date(entry.publishedDate).getTime();}catch(dateException){}
ageInDays=Math.floor((now-then)/(1000*60*60*24)),ageInHours=Math.floor((now-then)%(1000*60*60*24)/3600000);try{$entryTitle=$("<p></p>").html(entry.title);$a.attr({title:$entryTitle.html()});}catch(titleException){$a.attr({title:""});}
if(!isNaN(then)){$li.attr({age:then});}else{randomAge=Math.floor(Math.random()*1000001);$li.attr({age:randomAge});}
if(!(isNaN(ageInDays)||isNaN(ageInHours))){ageMsg.push(getAge(ageInDays,ageInHours));$toggle.html(ageMsg.join('')).attr({feedurl:feed.link});}
$title.html(entry.title);$title.attr({href:entry.link,title:$("<p></p>").html(entry.contentSnippet).html(),rel:"external",rev:"bookmark"});return;}
function addZeroAge(zeroAgeBookmark){var $zali=$(zeroAgeBookmark),randomAge=Math.floor(Math.random()*1000001);if($zali!==null){$zali.attr({age:randomAge});}
return;}
function addFeedControl(preview,feed,name){var feedControl=new google.feeds.FeedControl();feedControl.addFeed(feed,name);feedControl.draw($(preview).get(0));}
function feedreading_limit_display(){$.each($("#feedreading_blogroll_ > li"),function(i,$element){if(i>9){$($element).css("display","none");}});}
function feedreading_automatic_sort(){var $hasCompleteAge=true;$.each($("#feedreading_blogroll_ >li"),function(idx,$elem){var $age_=$($elem).attr("age");if($age_===null||$age_==""||isNaN($age_)){$hasCompleteAge=false;}});if($hasCompleteAge){$("#feedreading_blogroll_ > li").tsort({order:"desc",attr:"age"});clearInterval(myInterval);}}
function feedreading_category_observer(){$("#widget_feedreading_blogroll").bind("change click keypress",function(event){var $eventTarget=$(event.target);if($eventTarget.is('abbr')){$eventTarget.parent().parent().children(".preview_wrap").toggle("slow");}
if($eventTarget.is('small')){$eventTarget.parent().parent().parent().children(".preview_wrap").toggle("slow");}});}
var myInterval=window.setInterval(function(){feedreading_automatic_sort();},1000);window.setTimeout(function(a,b){clearInterval(myInterval);feedreading_limit_display();},20000);function initializeBR(){var
feed5=new google.feeds.Feed("http://johnnygee.wordpress.com/feed/"),feed4=new google.feeds.Feed("http://bigmenoncontent.com/feed/"),feed6=new google.feeds.Feed("http://documentumcookbook.wordpress.com/feed/"),feed2=new google.feeds.Feed("https://community.emc.com/community/feeds/allcontent?communityID=1"),feed9=new google.feeds.Feed("http://blogs.msdn.com/sharepoint/rss.xml"),feed3=new google.feeds.Feed("http://www.mydocumentum.net/index.php?format=feed&#38;type=rss"),feed11=new google.feeds.Feed("http://blogs.msdn.com/pandrew/rss.xml"),feed19=new google.feeds.Feed("http://feeds.feedburner.com/Furuknap?format=xml"),feed8=new google.feeds.Feed("http://feeds.feedburner.com/HeathersBlog"),feed10=new google.feeds.Feed("http://feeds.feedburner.com/SharepointTipsAndTricks?format=xml");feed5.load(function(result_5){if(!result_5.error){addAge(result_5.feed,"#feedreading_bookmark_5","#feedreading_anchor_5","#feedreading_info_5","#feedreading_previewtoggle_5","#frbl_last_posttitle_5");addFeedControl("#feedreading_preview_5","http://johnnygee.wordpress.com/feed/","Ask Johhny Documentum Guru");}else{addZeroAge("#feedreading_bookmark_5");}});feed4.load(function(result_4){if(!result_4.error){addAge(result_4.feed,"#feedreading_bookmark_4","#feedreading_anchor_4","#feedreading_info_4","#feedreading_previewtoggle_4","#frbl_last_posttitle_4");addFeedControl("#feedreading_preview_4","http://bigmenoncontent.com/feed/","Big Men on Content");}else{addZeroAge("#feedreading_bookmark_4");}});google.feeds.lookupFeed("http://sharepointinterface.com/",function(){var url18=this.url,feed18=new google.feeds.Feed(this.url);feed18.load(function(result_18){if(!result_18.error){addAge(result_18.feed,"#feedreading_bookmark_18","#feedreading_anchor_18","#feedreading_info_18","#feedreading_previewtoggle_18","#frbl_last_posttitle_18");addFeedControl("#feedreading_preview_18",url18,"BLOG: Sharepoint Interface");}else{addZeroAge("#feedreading_bookmark_18");}});});google.feeds.lookupFeed("http://www.brilliantleap.com/blog/",function(){var url12=this.url,feed12=new google.feeds.Feed(this.url);feed12.load(function(result_12){if(!result_12.error){addAge(result_12.feed,"#feedreading_bookmark_12","#feedreading_anchor_12","#feedreading_info_12","#feedreading_previewtoggle_12","#frbl_last_posttitle_12");addFeedControl("#feedreading_preview_12",url12,"Brilliantleap");}else{addZeroAge("#feedreading_bookmark_12");}});});google.feeds.lookupFeed("http://www.capps-llc.com/blog/",function(){var url16=this.url,feed16=new google.feeds.Feed(this.url);feed16.load(function(result_16){if(!result_16.error){addAge(result_16.feed,"#feedreading_bookmark_16","#feedreading_anchor_16","#feedreading_info_16","#feedreading_previewtoggle_16","#frbl_last_posttitle_16");addFeedControl("#feedreading_preview_16",url16,"CAPPS - Blog");}else{addZeroAge("#feedreading_bookmark_16");}});});google.feeds.lookupFeed("http://www.capps-llc.com",function(){var url7=this.url,feed7=new google.feeds.Feed(this.url);feed7.load(function(result_7){if(!result_7.error){addAge(result_7.feed,"#feedreading_bookmark_7","#feedreading_anchor_7","#feedreading_info_7","#feedreading_previewtoggle_7","#frbl_last_posttitle_7");addFeedControl("#feedreading_preview_7",url7,"Content Application Systems");}else{addZeroAge("#feedreading_bookmark_7");}});});feed6.load(function(result_6){if(!result_6.error){addAge(result_6.feed,"#feedreading_bookmark_6","#feedreading_anchor_6","#feedreading_info_6","#feedreading_previewtoggle_6","#frbl_last_posttitle_6");addFeedControl("#feedreading_preview_6","http://documentumcookbook.wordpress.com/feed/","Documentum Cookbook");}else{addZeroAge("#feedreading_bookmark_6");}});feed2.load(function(result_2){if(!result_2.error){addAge(result_2.feed,"#feedreading_bookmark_2","#feedreading_anchor_2","#feedreading_info_2","#feedreading_previewtoggle_2","#frbl_last_posttitle_2");addFeedControl("#feedreading_preview_2","https://community.emc.com/community/feeds/allcontent?communityID=1","EMC - Community - EDN");}else{addZeroAge("#feedreading_bookmark_2");}});feed9.load(function(result_9){if(!result_9.error){addAge(result_9.feed,"#feedreading_bookmark_9","#feedreading_anchor_9","#feedreading_info_9","#feedreading_previewtoggle_9","#frbl_last_posttitle_9");addFeedControl("#feedreading_preview_9","http://blogs.msdn.com/sharepoint/rss.xml","MSDN - SharePoint Team");}else{addZeroAge("#feedreading_bookmark_9");}});feed3.load(function(result_3){if(!result_3.error){addAge(result_3.feed,"#feedreading_bookmark_3","#feedreading_anchor_3","#feedreading_info_3","#feedreading_previewtoggle_3","#frbl_last_posttitle_3");addFeedControl("#feedreading_preview_3","http://www.mydocumentum.net/index.php?format=feed&#38;type=rss","My Documentum");}else{addZeroAge("#feedreading_bookmark_3");}});google.feeds.lookupFeed("http://nevertalkwhenyoucannod.typepad.com/",function(){var url13=this.url,feed13=new google.feeds.Feed(this.url);feed13.load(function(result_13){if(!result_13.error){addAge(result_13.feed,"#feedreading_bookmark_13","#feedreading_anchor_13","#feedreading_info_13","#feedreading_previewtoggle_13","#frbl_last_posttitle_13");addFeedControl("#feedreading_preview_13",url13,"Never Talk When You Can Nod");}else{addZeroAge("#feedreading_bookmark_13");}});});feed11.load(function(result_11){if(!result_11.error){addAge(result_11.feed,"#feedreading_bookmark_11","#feedreading_anchor_11","#feedreading_info_11","#feedreading_previewtoggle_11","#frbl_last_posttitle_11");addFeedControl("#feedreading_preview_11","http://blogs.msdn.com/pandrew/rss.xml","Paul Andrew (Microsoft Technical Product Manager for SharePoint Developer Platforms)");}else{addZeroAge("#feedreading_bookmark_11");}});google.feeds.lookupFeed("http://furuknap.blogspot.com/",function(){var url17=this.url,feed17=new google.feeds.Feed(this.url);feed17.load(function(result_17){if(!result_17.error){addAge(result_17.feed,"#feedreading_bookmark_17","#feedreading_anchor_17","#feedreading_info_17","#feedreading_previewtoggle_17","#frbl_last_posttitle_17");addFeedControl("#feedreading_preview_17",url17,"SharePoint Corner");}else{addZeroAge("#feedreading_bookmark_17");}});});feed19.load(function(result_19){if(!result_19.error){addAge(result_19.feed,"#feedreading_bookmark_19","#feedreading_anchor_19","#feedreading_info_19","#feedreading_previewtoggle_19","#frbl_last_posttitle_19");addFeedControl("#feedreading_preview_19","http://feeds.feedburner.com/Furuknap?format=xml","SharePoint Corner");}else{addZeroAge("#feedreading_bookmark_19");}});feed8.load(function(result_8){if(!result_8.error){addAge(result_8.feed,"#feedreading_bookmark_8","#feedreading_anchor_8","#feedreading_info_8","#feedreading_previewtoggle_8","#frbl_last_posttitle_8");addFeedControl("#feedreading_preview_8","http://feeds.feedburner.com/HeathersBlog","SharePoint Design - Heather Solomon");}else{addZeroAge("#feedreading_bookmark_8");}});feed10.load(function(result_10){if(!result_10.error){addAge(result_10.feed,"#feedreading_bookmark_10","#feedreading_anchor_10","#feedreading_info_10","#feedreading_previewtoggle_10","#frbl_last_posttitle_10");addFeedControl("#feedreading_preview_10","http://feeds.feedburner.com/SharepointTipsAndTricks?format=xml","Sharepoint Tips And Tricks...");}else{addZeroAge("#feedreading_bookmark_10");}});google.feeds.lookupFeed("http://gevaperry.typepad.com/main/",function(){var url14=this.url,feed14=new google.feeds.Feed(this.url);feed14.load(function(result_14){if(!result_14.error){addAge(result_14.feed,"#feedreading_bookmark_14","#feedreading_anchor_14","#feedreading_info_14","#feedreading_previewtoggle_14","#frbl_last_posttitle_14");addFeedControl("#feedreading_preview_14",url14,"Thinking outside the Cloud - Cloud Computing");}else{addZeroAge("#feedreading_bookmark_14");}});});google.feeds.lookupFeed("http://cloud.ubuntu.com/",function(){var url15=this.url,feed15=new google.feeds.Feed(this.url);feed15.load(function(result_15){if(!result_15.error){addAge(result_15.feed,"#feedreading_bookmark_15","#feedreading_anchor_15","#feedreading_info_15","#feedreading_previewtoggle_15","#frbl_last_posttitle_15");addFeedControl("#feedreading_preview_15",url15,"Ubuntu Cloud Planet");}else{addZeroAge("#feedreading_bookmark_15");}});});feedreading_category_observer();}});