No template only uses ASP + FSO to generate a method of static HTML pages

xiaoxiao2021-03-06  36

Transfer from http://goarer.xicp.net

When the FSO generates a static HTML file, the replacement template tag has always been a very troublesome problem. At least I think so, but also make a template, trouble! , I saw a way to solve this problem today.

Such as a normal index.asp page, and use the ASP code to call the content in the database, build a pagehtml.asp page, add a textarea domain, assume it as name = "body", adjust Index.asp in Textarea Come out, such as: