400 Articles and Posts

function LoadTheArchive(TotalFeed) { var PostTitles = new Array(); var PostURLs = new Array(); var PostYears = new Array(); var PostMonths = new Array(); var PostDays = new Array(); if(“entry” in TotalFeed.feed) { var PostEntries=TotalFeed.feed.entry.length; for(var PostNum=0; PostNum<postentries ; PostNum++) { var ThisPost = TotalFeed.feed.entry[PostNum]; PostTitles.push(ThisPost.title.$t); PostYears.push(ThisPost.published.$t.substring(0,4)); PostMonths.push(ThisPost.published.$t.substring(5,7)); PostDays.push(ThisPost.published.$t.substring(8,10)); var ThisPostURL; for(var LinkNum=0; LinkNum < ThisPost.link.length; LinkNum++) { if(ThisPost.link[LinkNum].rel == "alternate") { ThisPostURL = ThisPost.link[LinkNum].href; break } } PostURLs.push(ThisPostURL); } } DisplaytheTOC(PostTitles,PostURLs,PostYears,PostMonths,PostDays); } function DisplaytheTOC(PostTitles,PostURLs,PostYears,PostMonths,PostDays) { var MonthNames=["January","February","March","April","May","June","July","August","September","October","November","December"]; var NumberOfEntries=PostTitles.length; var currentMonth = ""; var currentYear = ""; for(var EntryNum = 0; EntryNum < NumberOfEntries; EntryNum++) { NameOfMonth = MonthNames[parseInt(PostMonths[EntryNum],10)-1] if (currentMonth != NameOfMonth || currentYear != PostYears[EntryNum]) { currentMonth = NameOfMonth; currentYear = PostYears[EntryNum]; document.write("

” + currentMonth+” “+currentYear+”

“); } document.write(‘

‘+parseInt(PostDays[EntryNum],10)+”:  

“+PostTitles[EntryNum]+”
“); } } https://narcissistdonaldtrump.blogspot.com/feeds/posts/default?max-results=900&alt=json-in-script&callback=LoadTheArchive .dateStyle { color:white; font-weight:bold; font-size: 15px; font-family: Arial, sans-serif; margin: 0; } .dayStyle { color:pink; font-weight:bold; font-family: Arial, sans-serif; display: inline-block; }