XMP-iptcCore:CreatorContactInfo Struct

Started by tobisi, April 21, 2020, 05:28:00 PM

Previous topic - Next topic

tobisi

Hi,

I've been trying to add the "CreatorContactInfo" struct to an image but keep getting the undefined message. I'm probably not having the right wording format:

exiftool  -XMP-iptcCore:CreatorContactInfo:ContactInfoCiUrlWork="www.test.com" [filename.jpg]

How do you build the structure in order to insert the "CiUrlWork" tag?

CreatorContactInfo => {
        Struct => {
            STRUCT_NAME => 'ContactInfo',
            NAMESPACE   => 'Iptc4xmpCore',
            CiAdrCity   => { },
            CiAdrCtry   => { },
            CiAdrExtadr => { },
            CiAdrPcode  => { },
            CiAdrRegion => { },
            CiEmailWork => { },
            CiTelWork   => { },
            CiUrlWork   => { },
        },
    },

Thank you!

StarGeek

See XMP iptcCore Tags.

If you're just adding that one entry, used the flattened tag listed there, CreatorWorkURL
exiftool -CreatorWorkURL=www.test.com <FileOrDir>

"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

tobisi

Thanks for the quick reply!

I was already able to insert the CreatorUrlWork. But in this case I'm trying to add the XMP ContactInfo Struct, referencing the "CiUrlWork" tag. This tag it's useful when you post an image to the web and gets shared by people, it increases your SEO rates.

StarGeek

CreatorWorkURL is the CiUrlWork portion of the ContactInfo structure. 

See Structured Information for details.

Example:
C:\>exiftool -P -overwrite_original -CreatorWorkURL=www.test.com y:\!temp\Test4.jpg
    1 image files updated

C:\>exiftool -g1 -a -s -b -xmp y:\!temp\Test4.jpg
<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Image::ExifTool 11.93'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

<rdf:Description rdf:about=''
  xmlns:Iptc4xmpCore='http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/'>
  <Iptc4xmpCore:CreatorContactInfo rdf:parseType='Resource'>
   <Iptc4xmpCore:CiUrlWork>www.test.com</Iptc4xmpCore:CiUrlWork>
  </Iptc4xmpCore:CreatorContactInfo>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>                                                                                 
<?xpacket end='w'?>
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

tobisi

Hi! Yes I think you are correct. Thank you!