Qball's Weblog

Stuffkeeper, html export

Tags General  StuffKeeper 

I’ve implemented html output to stuffkeeper.

It parses a template files and generates html from it.

A template looks like this:


    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" >
            StuffKeeper - {title}
                <td align='right' valign='top'>
                    {field:string %
                    }{field:text <p>%</p>
                    }{field:link <a href='%'>%</a>
                    }{field:slider %/10
                    }{field:integer %
                    }{field:boolean %
                    }{field:image <img src='%' />
                    }{field:list <div id='list'>
                       }{field:list <i>%</i><BR />
                    }{field:list </div>}

This generates this code: click here. (yes it needs css)

Or an more advanced example