Untitled
unknown
plain_text
2 years ago
3.7 kB
9
Indexable
<h2 class="post-title entry-title"></h2> <div class="post-header"> </div> <div class="post-body entry-content" id="post-body-5922511949346860549"> <script type="text/javascript"> 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("<br><div class='dateStyle'>" + currentMonth + " " + currentYear + "</div>"); } var parsed_day = parseInt(PostDays[EntryNum],10) > 9 ? "" + parseInt(PostDays[EntryNum],10): "0" + parseInt(PostDays[EntryNum],10); document.write("<div class='dayStyle'>" + parsed_day + ": </div><a href='" + PostURLs[EntryNum] + "'>" + PostTitles[EntryNum] + "</a><br>"); } } </script> <br /> <br /> <script src="/feeds/posts/summary?alt=json-in-script&max-results=150&start-index=1&callback=LoadTheArchive" type="text/javascript"></script> <br /> <script src="/feeds/posts/summary?alt=json-in-script&max-results=150&start-index=151&callback=LoadTheArchive" type="text/javascript"></script> <br /> <script src="/feeds/posts/summary?alt=json-in-script&max-results=150&start-index=301&callback=LoadTheArchive" type="text/javascript"> <script src="/feeds/posts/summary?alt=json-in-script&max-results=150&start-index=451&callback=LoadTheArchive" type="text/javascript"> </script> <br /> <!--CUSTOMIZATION--><br /> <style type="text/css"> .post-body { color:#000; font-weight:italic; font-size: 15px; font-family: 'Times New Roman', Times, serif; } .dateStyle { color:#000; font-weight:bold; font-size: 15px; font-family: 'Times New Roman', Times, serif; margin: 0; } .dayStyle { color:#000; font-weight:bold; font-family: 'Times New Roman', Times, serif; display: inline-block; } .post-header{display:none;} </style> </div>
Editor is loading...