Thanks Reto, I will definitely look into this.
Regards, Minto Op 8-1-2013 14:32, Reto Bachmann-Gmür schreef: > 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 <mi...@xup.nl> 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 >> >> -- ir. ing. Minto van der Sluis Software innovator / renovator Xup BV Mobiel: +31 (0) 626 014541