Jürgen Ragaller wrote:

Am Sep 24, 2006 um 18:47 schrieb Jörn Nettingsmeier:

or rather, to all documents of a particular doctype.

To make a new metadata set available, you can patch cocoon.xconf by adding something like the following to <pub>/config/cocoon-xconf

<?xml version="1.0"?>
<xconf xpath="/cocoon/meta-data"
    remove="/cocoon/meta-data/component-instance
      [EMAIL PROTECTED] = 'http://whatever.org/meta']">
  <component-instance name="http://whatever.org/meta";
    class="org.apache.lenya.cms.metadata.ConfigurableElementSet">
    <element editable="true" name="yourelement" multiple="false"/>
  </component-instance>
</xconf>

thanks a lot, works nicely!

Like this the new metadata element «yourelement» appears in the metadata tab.

I know this is answers your question only partially - no idea about doctype specific metadata sets...

i'll work with global metadata for now since i have to deliver some stuff. but conceptually, it's not nice, since it's clearly doctype specific stuff...

--
"Open source takes the bullshit out of software."
        - Charles Ferguson on TechnologyReview.com

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736

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

Reply via email to