README in BuildMaster-0.7.0 vs README in BuildMaster-0.8.0

- old
+ new

@@ -21,5 +21,31 @@ and decrorating the content pages with a skin. The supported content sources are <a href="http://www.w3.org/TR/xhtml11/">XHTML</a> and <a href="http://hobix.com/textile/">Textile</a>. +== Task List + +* Use RDoc engine (rdoc/template, TemplatePage) to generate template (page +255) +* Use RDoc format for content + +require 'rdoc/template' +HTML = %{Hello, %name%. +<p> +The reasons you gave were: +<ul> +START:reasons +<li>%reason_name% (%rank%) +END:reasons +</ul> +} +data = { +'name' => 'Dave Thomas', +'reasons' => [ +{ 'reason_name' => 'flexible', 'rank' => '87' }, +{ 'reason_name' => 'transparent', 'rank' => '76' }, +{ 'reason_name' => 'fun', 'rank' => '94' }, +] +} +t = TemplatePage.new(HTML) +t.write_html_on(STDOUT, data)