ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: blue-j on February 11, 2022, 07:51:51 PM

Title: CVs in PLUS handling
Post by: blue-j on February 11, 2022, 07:51:51 PM
For PLUS, CV terms are URLs, as you note here:

"Note that all controlled-vocabulary tags in this table (ie. tags with a fixed set of values) have raw values which begin with "http://ns.useplus.org/ldf/vocab/", but to reduce clutter this prefix has been removed from the values shown below."

I'm just trying to figure out how this works exactly.  For example:

LicensorTelephoneType1   string_+   (LicensorLicensorTelephoneType1)
'cell' = Cell
'fax' = FAX
'home' = Home
'pager' = Pager
'work' = Work

Actual values should be:

http://ns.useplus.org/ldf/vocab/work
http://ns.useplus.org/ldf/vocab/cell
http://ns.useplus.org/ldf/vocab/fax
http://ns.useplus.org/ldf/vocab/home
http://ns.useplus.org/ldf/vocab/pager

Does that mean if we pass only the value of "Home" to ExifTool, it will automagically convert it to "http://ns.useplus.org/ldf/vocab/home" in the raw metadata?

Also, "FAX" is not an acronym and should be "Fax." Lives have been lost due to this error.   : p

Thanks!
J



PS Revisions 1.2.2 and 1.2.3 were not of impact to your work I believe, so you can update your page to say compatible with 1.2.3!

http://ns.useplus.org/LDF/RevisionHistory
Title: Re: CVs in PLUS handling
Post by: StarGeek on February 11, 2022, 08:07:55 PM
You can always set it and look at the raw data to check
C:\Programs\My_Stuff>exiftool -P -overwrite_original -LicensorTelephoneType1=Home y:\!temp\Test4.jpg
    1 image files updated

C:\Programs\My_Stuff>exiftool -xmp -b y:\!temp\Test4.jpg
<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Image::ExifTool 12.39'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
<rdf:Description rdf:about=''
  xmlns:plus='http://ns.useplus.org/ldf/xmp/1.0/'>
  <plus:Licensor>
   <rdf:Seq>
    <rdf:li rdf:parseType='Resource'>
     <plus:LicensorTelephoneType1>http://ns.useplus.org/ldf/vocab/home</plus:LicensorTelephoneType1>
    </rdf:li>
   </rdf:Seq>
  </plus:Licensor>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end='w'?>
Title: Re: CVs in PLUS handling
Post by: blue-j on February 11, 2022, 08:15:28 PM
You truly live up to your name.  : )

J