ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: horix on July 27, 2011, 07:37:23 AM

Title: how add multiple keyword in xmp tag ?
Post by: horix on July 27, 2011, 07:37:23 AM
Hello,

I use exiftool (8.61) on windows xp in comand line to add xmp tag in my photos and control the result with exiftoolgui.

When I write:

exiftool.exe -xmp:Keywords+="Toto" *.jpg

I have the following error:

Warning: Shift value for XMP-pdf:Keywords is not a number

and no keyword was written.

I try this:

exiftool.exe -xmp:Keywords="Toto" -xmp:Keywords="Titi" *.jpg

So there is only one keyword in the photo, the last: "Titi"

How can I add multiple keyword ?





Title: Re: how add multiple keyword in xmp tag ?
Post by: Phil Harvey on July 27, 2011, 07:41:34 AM
XMP-pdf:Keywords is not a list-type tag.  In XMP, keywords are normally stored in XMP-dc:Subject

- Phil
Title: Re: how add multiple keyword in xmp tag ?
Post by: horix on July 27, 2011, 08:53:47 AM
Thanks for your answer.

I've tried:

exiftoo.exe -xmp:Subject+="toto" -xmp:Subject+="titi" *.jpg

and with exiftoolgui I see:

Subject    toto*titi

There is 2 subjects, it's ok.

And effectively iptc keyword is corresponding to xmp subject
(source: IPTc Photo Metadata Core 1.1)

my problem is solved :-)