incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür <>
Subject Re: templating question
Date Tue, 08 Jan 2013 13:32:54 GMT
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:


On Sun, Jan 6, 2013 at 11:21 AM, Minto van der Sluis <> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message