根据模版和Url生成Html文件

使用模版生成Html时,在模版的源代码:$title$为标题替换代码,$content$ 为内容替换代码,自行设置需要替换的代码。 生成HTMLcs代码
<table width="100%" border="0" bgcolor="#339900">
  <tr>
    <td height="34" align="center" bgcolor="#FFFFFF"><span class="STYLE1">$title$ </span></td>
  </tr>
  <tr>
    <td height="42" bgcolor="#FFFFFF"><br />
      <br />$content$
</td>
  </tr>
</table>

原文地址:https://www.cnblogs.com/shanymen/p/1496714.html