Parse HTML documents writing HTML templates and embedding ruby code