This was an attempt at making a blog consisting of pages only.\\

First we put in php function instead of the normal MT tags
<code>
<?php
 $files=glob("*.php");
 $pages = array_diff($files,Array("archives.php","index.php")); 
 foreach ($pages as $p) {
  $contents = file_get_contents($p,true);
  echo "<div class=\"asset-header\">\n";
  echo extract_unit($contents,'<div class="asset-header">','</div>',50);
  echo "</div>\n</div>\n";
 }
?>
</code>

The code first scans the directory for all .php files. Array_diff then removes the normal '' index.php '' and '' archives.php '' found in a normal MT folder. Whatever else is a MT Page file. We scrape those pages one by one and extract the contents into the index.php.\\

The normal extract subroutine I use had to be modified. The modified Classic blog Pages template I use had portions such that a subroutine modified to extract the '' Title '' and '' Asset '' portions of the page could be used. So we find the whole section and put it on the index page stream. Below is the modified code
<code>
<?php 
function extract_unit($string, $start, $end, $offset) {
$pos = stripos($string, $start, $offset) + strlen($start);
$second_pos = stripos($string, $end, $pos) + strlen($end);
$third_pos = stripos($string, $end, $second_pos)- $pos;
if ($third_pos > 0) { return substr($string, $pos, $third_pos); }
else { return ''; }
}
?>
</code>

It doesn't lend itself to scraping so is of limited use..