4
$begin_time = microtime(true);
7
require_once(dirname(__FILE__).'/../kagura/initialize.php');
10
'prefix' => 'kag_sample_',
11
'plugins' => dirname(__FILE__).'/../plugins',
15
$result = kag_convert(file_get_contents('./index.kag.txt'), $conf);
18
<?xml version="1.0" encoding="utf-8"?>
19
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
20
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
22
<meta name="author" content="epii" />
23
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
24
<meta http-equiv="Content-Style-Type" content="text/css" />
25
<meta http-equiv="Content-Script-Type" content="text/javascript" />
28
<link rel="stylesheet" type="text/css" href="./css/style.css" />
30
<!-- JavaScript ライブラリ読み込み -->
31
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
32
<script type="text/javascript">
33
google.load("prototype", "1.6");
34
google.load("scriptaculous", "1.8");
37
<!-- Kagura 用のスタイルシートと JavaScript 読み込み -->
38
<link rel="stylesheet" type="text/css" href="./css/kagura.css.php" />
39
<script type="text/javascript" src="./js/kagura.js.php"></script>
41
<title><?php echo @$result['vars']['title']; ?></title>
45
<?php echo @$result['result']; ?>
49
<div class="kag_footnotesize">
50
Convert time: <?php printf('%.2f', microtime(true) - $begin_time); ?> sec.<br />
51
<?php echo KAG_COPYRIGHT; ?>