On the occasion of his 100th blog posting, Ted wondered if he could create an all entries view. Scot Hacker has an All Posts Ever view, so I knew it was possible.
I went under templates and made a new Index Template (not archive template) called “All Entries.” I made the output file = all.html.
I then chopped up a copy of the Main Index templates to get down to the minimal code needed to create the all.html file. You can copy/paste the code below to make your own all.html template like mine.
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=<$MTPublishCharset$>” />
<title><$MTBlogName$>: All Entries</title>
<link rel=”stylesheet” href=”<$MTBlogURL$>styles-site.css” type=”text/css” />
<link rel=”alternate” type=”application/rss+xml” title=”RSS” href=”<$MTBlogURL$>index.rdf” />
</head>
<body>
<div id=”banner”>
<a href=”<$MTBlogURL$>” accesskey=”1″><$MTBlogName$>: All Entries</a>
</div>
<div class=”description”><$MTBlogDescription$></div>
<div id=”container”>
<div class=”blog”>
<MTEntries lastn=”1000000″>
<span class=”title”>
<a href=”<$MTEntryPermalink$>”><$MTEntryTitle$> </a></span> <span class=”posted”><$MTEntryDate format=”%x”$></span><br />
</MTEntries>
</div>
</div>
</body>
</html>
To give quick access to the file, I added an “All Entries” link at the top of the archives division in the Main Index:
<div class=”sidetitle”>
Archives
</div>
<div class=”side”>
<a href=”all.html”>All Entries</a><br />
<MTArchiveList archive_type=”Monthly”>
<a href=”<$MTArchiveLink$>”><$MTArchiveTitle$></a><br />
</MTArchiveList>
</div>