Author Topic: xmp-daminion  (Read 3245 times)

herb

  • ExifTool Freak
  • *****
  • Posts: 375
xmp-daminion
« 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

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 17020
    • ExifTool Home Page
Re: xmp-daminion
« Reply #1 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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

herb

  • ExifTool Freak
  • *****
  • Posts: 375
Re: xmp-daminion
« Reply #2 on: February 12, 2013, 09:45:52 AM »
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

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 17020
    • ExifTool Home Page
Re: xmp-daminion
« Reply #3 on: February 12, 2013, 10:22:44 AM »
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, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

K.Murat

  • Newbie
  • *
  • Posts: 9
Re: xmp-daminion
« Reply #4 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?

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 17020
    • ExifTool Home Page
Re: xmp-daminion
« Reply #5 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).

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, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

K.Murat

  • Newbie
  • *
  • Posts: 9
Re: xmp-daminion
« Reply #6 on: September 10, 2014, 09:28:54 AM »
Thank you Phil!