Main Menu

xmp-daminion

Started by herb, February 12, 2013, 05:21:08 AM

Previous topic - Next topic

herb

Hello Phil,

this thread is only for information.
Since some day I do tests with Daminion, which I found accidentally.
It allows to define user-tags and it stores them with -xmp-daminion group.

I defined "Daminion Testtag" and added 2 values "dam-value1" and "dam-value2".
(The given spelling was used.)

The content of the XMP metadata is as follows:
(Please be aware that I deleted all other XMP subgroups: e.g.: -xmp-microsoft --xmp-lr and many others)

Quote<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Image::ExifTool 9.17'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

<rdf:Description rdf:about=''
  xmlns:daminion='http://ns.daminion.net/1.0/'>
  <daminion:daminion__testtag>
   <rdf:Bag>
    <rdf:li>dam-value1</rdf:li>
    <rdf:li>dam-value2</rdf:li>
   </rdf:Bag>
  </daminion:daminion__testtag>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end='w'?>

Best regards
Herb

Phil Harvey

Hi Herb,

Thanks.  Does Daminion have any pre-defined tags that it stores in the "daminion" namespace?

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

herb

Hallo Phil,

in document http://daminion.net/files/daminion-metadata-mapping-rules.pdf
it is described where tags will be stored.

In addition user-defined tags are supported and (as far as I know) only these are stored within -xmp-daminion.

Best regards
Herb

Phil Harvey

OK, thanks.  I didn't see any pre-defined XMP-daminion tags in that list.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

K.Murat

Hi Phil!

Sorry for the late response.

There are two pre-defined textual tags in the Daminion: Project and Client.

Scheme name: http://ns.daminion.net/1.0/
Schema namespace prefix: daminion
Field1: daminion:Client
Field2: daminion:Project

Daminion writes other tags to standard EXIF/IPTC-NAA/XMP fields.

However for custom user-defined tags Daminion generates new xmp tag names based on the custom tag name. For example,
Advertizing Vehicles and Food tags will be written as follow:

<daminion:advertizing__vehicles>
<rdf:Bag>
<rdf:li>Poster</rdf:li>
</rdf:Bag>
</daminion:advertizing__vehicles>

<daminion:food>
<rdf:Bag>
<rdf:li>French fries</rdf:li>
<rdf:li>Burger</rdf:li>
<rdf:li>Milkshakes</rdf:li>
</rdf:Bag>
</daminion:food>

ExifTool requires that processing tag names should be known and registered in the ExifTool library. But that is not possible in case of the user defined tags.
Phil, what scheme would you suggest to store custom user defined tags so ExifTool can always display them?

Phil Harvey

ExifTool will always extract any XMP tag, even if it is not pre-defined in the ExifTool library (see the second-last paragraph in the XMP tag name documentation).

The tag only has to be pre-defined to be able to write it.  For this, user-defined tags may be created to write any XMP tag not defined in the library.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

K.Murat