ExifTool Forum

General => Metadata => Topic started by: herb on February 12, 2013, 05:21:08 AM

Title: xmp-daminion
Post by: herb on February 12, 2013, 05:21:08 AM
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
Title: Re: xmp-daminion
Post by: Phil Harvey on February 12, 2013, 07:45:55 AM
Hi Herb,

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

- Phil
Title: Re: xmp-daminion
Post by: herb on February 12, 2013, 09:45:52 AM
Hallo Phil,

in document http://daminion.net/files/daminion-metadata-mapping-rules.pdf (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
Title: Re: xmp-daminion
Post by: Phil Harvey on February 12, 2013, 10:22:44 AM
OK, thanks.  I didn't see any pre-defined XMP-daminion tags in that list.

- Phil
Title: Re: xmp-daminion
Post by: K.Murat on September 10, 2014, 04:50:51 AM
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?
Title: Re: xmp-daminion
Post by: Phil Harvey on September 10, 2014, 07:01:43 AM
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 (https://exiftool.org/TagNames/XMP.html)).

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
Title: Re: xmp-daminion
Post by: K.Murat on September 10, 2014, 09:28:54 AM
Thank you Phil!