Hi Reto Do you really mean JavaServerPages? I think you mean ScalaServerPages
cheers tsuy On Tue, Jan 8, 2013 at 2:32 PM, Reto Bachmann-Gmür <[email protected]> wrote: > Hi Minto, > > The two clerezza templating mechanism JavaServerPages and Seedsnipe are > currently tied a bit to HTTP. They can be used in email by sending the mail > with MailMan#sendEmailToUser but the template has to be registered with > typerendering first. > > If you are used to freemarker you might be interested in its > LdPathTemplates extension. A bundle ldpathtemplate allowing rendering of > Clerezza GraphNodes is provided by stanbol and part of the trunk version of > clerezza. The relevant method is render(GraphNode node, final String > templatePath, Writer out) in > org.apache.stanbol.commons.ldpathtemplate.LdRenderer. An example template > is here: > > http://code.google.com/p/ldpath/source/browse/ldpath-template-linkeddata/src/test/resources/city-html.ftl > > Cheers, > Reto > > On Sun, Jan 6, 2013 at 11:21 AM, Minto van der Sluis <[email protected]> wrote: > > > Hi folks, > > > > I have a question that's not really clerezza specific, but more about > > RDF in general. I hope other people on this mailing list have faced > > similar situations and come up with a solution. > > > > I would like to use the data in a triple collection to for instance > > build a text document or an email message. Normally I would use > > templating engines like Freemarker or Velocity for this. Now I wonder if > > something similar exists for RDF. > > > > Any ideas? > > > > Regards, > > > > Minto van der Sluis > > Software innovator / renovator > > Xup BV > > > > > -- --trialox ag-------------------------------------- Tsuyoshi Ito URL: http://trialox.org
