Joern Nettingsmeier schrieb:
hi !

i need to display some metadata fields in the rendered xhtml document.
the 1.4 site-wide page2xhtml.xsl has this:
<title><xsl:value-of select="//lenya:meta/dc:title"/></title>

but the title comes up empty in live and with the page name in
authoring. is this broken?

Yes, I guess the XSLT is not up to date. The meta data aren't included
in the document anymore. You might want to take a look at Thorsten's
meta data generator.


the reason i need this is that i want "webmaster" links at the bottom
that automatically lead to the email address of the user who last edited
the page. which leads me to the second question: has anyone done that? i
know i can get the user name from the metadata and the email from
config/ac/passwd/<user>.iml,

That's not part of the API. The storage of users might change in
future versions.

so it could probably be done with an
aggregator in the pipeline, but is there a simpler solution?

IMO a nice solution would be to write an input module, or to
extend existing modules, e.g. something like that (the syntax can be
discussed on the dev list):

{access-control:email:<username>}
{workflow:last-user:<event>}

{access-control:email:{workflow:last-user:edit}}

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to