templateFile = "group-rss.vm";
} else if("atom".equals(feedRequest.getFormat())) {
templateFile = "group-atom.vm";
}
Template template = new StaticTemplate(templateFile, null, "velocity");
renderer = RendererManager.getRenderer(template);
} catch(Exception e) {
// nobody wants to render my content :(
if(!response.isCommitted()) response.reset();