「CBData HTML 規範」:修訂間差異
出自DILA Wiki
imported>Ray (→一卷一檔) |
imported>Ray (→經名) |
||
| 行 31: | 行 31: | ||
<title>長阿含經</title> | <title>長阿含經</title> | ||
</head> | </head> | ||
</syntaxhighlight> | |||
=區塊標記= | |||
==byline== | |||
byline 轉為 | |||
<syntaxhighlight lang="XML"> | |||
<p class="byline"/>....</p> | |||
</syntaxhighlight> | </syntaxhighlight> | ||
於 2015年1月19日 (一) 14:49 的修訂
一卷一檔
HTML 根據 XML <milestone unit="juan"> 切卷。檔名為冊號、經號、卷號,例如 T01n0001_001.htm、T01n0001_002.htm...。
HTML 檔內容架構:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="filename" content="T01n0001_018.htm" />
<title>經名</title>
</head>
<body>
<div id="body">內文</div>
<div id="back">校勘與缺字資訊</div>
</body>
</html>
檔頭有以下標記表示本檔檔名:
<meta name="filename" content="T01n0001_018.htm" />
經名
經名轉為 head/title,例如:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>長阿含經</title>
</head>
區塊標記
byline
byline 轉為
<p class="byline"/>....</p>