ini_set('include_path', "../src:$tmp");
unset($tmp);
-require_once 'prepend.php';
require_once 'HTML/Template/Sigma.php';
require_once 'BIFE/Parser.php';
+require_once 'BIFE/Copy.php';
require_once 'BIFE/Page.php';
require_once 'BIFE/Title.php';
-require_once 'BIFE/Album.php';
+#require_once 'BIFE/Album.php';
#require_once 'BIFE.php';
$file = 'simple.xbf';
$template =& new HTML_Template_Sigma('templates');
$template->setErrorHandling(PEAR_ERROR_PRINT);
-$parser =& new BIFE_Parser($template);
-$parser->parseFile($file);
-echo $parser->getOutput();
+$parser =& new BIFE_Parser('BIFE_Copy');
+$page =& $parser->parseFile($file);
$parser->__destruct();
+echo $page->render($template);
?>