Export ASPX to HTML

后端 未结 5 1266
春和景丽
春和景丽 2021-01-03 01:54

We\'re building a CMS. The site will be built and managed by the users in aspx pages, but we would like to create a static site of HTML\'s. The way we\'re doing it now is w

5条回答
  •  -上瘾入骨i
    2021-01-03 02:28

    I recommend you do this a very simple way and don't do it in code. It will allow your CMS code to do what the CMS code should do and will keep it as simple as possible.

    Use a product such as HTTrack. It calls itself a "website copier". It crawls a site and creates html output. It is fast and free. You can just have it run at whatever frequency you think is best.

    It decouples your HTML output needs from your CMS design and implementation. It reduces complexity and gives you some flexibility in how you output the HTML without introducing failure points in your CMS code.

提交回复
热议问题