tags:

views:

64

answers:

1

The idea seems to be very similar by keeping actual content separate from the final output rendering so that changing the template or styling is trivial.

+1  A: 

2 things that spring to mind:

  1. You don't have to write the transform engine yourself
  2. You don't have to write your pages in XML; in Hyde, for instance, you can write your pages in Markdown and use filters to convert it to HTML

UPDATE: Regarding the idea behind it, I think the main goal is to get (most of) the benefits of a dynamic blog or cms engine, but all the performance (especially w.r.t. memory footprint) wins of static files. As a secondary benefit, this enables you to write your content in your favorite text editor and version it using your favorite version control tool.

Hank Gay
Fair points. On point two though I think writing in XML could be better as it is easily consumable by javascript as well for instance whereas as far as I am aware Markdown isn't as flexible. Writing in XML could also give you the ability to easily release versions as DocBook compatible files etc.
Treffynnon
@Treffynnon Most people using a static site generator have no plans to translate their site into DocBook, or to directly consume the original source via JavaScript. Since Markdown allows you to embed HTML (and presumably XHTML), they might still be able to do that, but it's probably the wrong tool for the job, at that point.
Hank Gay