10.4. Lifecycle of the blosxom Renderer

The blosxom renderer renders the entries in a similar fashion to what Blosxom does. The blosxom renderer uses flavour templates and template variables. It also has a series of callbacks allowing plugins to modify templates and entry data at the time of rendering that specific piece.

  1. renders the content_type template

  2. calls the head callback and renders the head template

  3. calls the date_head callback and renders the date_head template

  4. for each story:

    1. if the mtime on this entry is different than the last entry, it calls the date_foot callback, renders the date_foot template, calls the date_head callback and renders the date_head template.

    2. calls the story callback and renders the story template

  5. calls the date_foot callback and renders the date_foot template

  6. renders the foot template (calls the foot callback