I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-11-14 15:49:17-08 by neoarch
Support for commas in keywords
Occasionally, one needs to put commas in IPTC:Keywords in order to display names with the last name displayed first. The documentation on this page says that exiftool supports this concept. For example, it says that if you type
exiftool -keywords="Harvey, Phil" -keywords="Marley, Bob" DIR
the keywords should be stored appropriately. The problem is that when you do this, each name is stored separately. If you look at the keywords, you get a list of Harvey, Phil, Marley, Bob. Is the documentation in error, or is there a way to store Harvey, Phil; Marley, Bob or something to that effect? Thanks in advance
Direct Responses: 9311 | 9312 | Write a response
Posted on 2008-11-14 16:28:46-08 by exiftool in response to 9310
Re: Support for commas in keywords
> exiftool -keywords="Harvey, Phil" -keywords="Marley, Bob" a.jpg 1 image files updated > exiftool -keywords -sep "; " a.jpg Keywords : Harvey, Phil; Marley, Bob

- Phil
Direct Responses: 9314 | Write a response
Posted on 2008-11-14 16:38:54-08 by bogdan in response to 9310
Re: Support for commas in keywords
Hi,

Could be I wasn't clear (in previous post) due my limited english langauage...
Inside GUI, you already CAN save "Harvey, Phil" as SINGLE keyword. The problem is (or may be), this single keyword will be displayed the same way as if there were two separate keywords: Harvey AND Phil -you see in both cases "Harvey, Phil".
Actually the problem starts when you i.e. try to remove "Phil" only (not knowing "Phil" isn't separate keyword, but part of "Harvey, Phil" keyword).

Just noticed... probably this thread isn't about GUI at all... in this case, sorry for jumping in. Well, it's the same issue, though.

Bogdan
Direct Responses: 9313 | Write a response
Posted on 2008-11-14 16:41:08-08 by bogdan in response to 9312
Re: Support for commas in keywords
Am I slow at typing :-)

Greetings to both,
Bogdan
Direct Responses: Write a response
Posted on 2008-11-14 16:51:30-08 by neoarch in response to 9311
Re: Support for commas in keywords
Phil, Thanks for that response, but even that doesn't seem to work for me. It still gives me a comma separated list of all the words supplied. Thanks.
Direct Responses: 9315 | Write a response
Posted on 2008-11-14 17:00:14-08 by exiftool in response to 9314
Re: Support for commas in keywords
You must be using ExifTool 7.41 or later to use the -sep option.

- Phil
Direct Responses: 9316 | 9320 | Write a response
Posted on 2008-11-14 17:03:13-08 by exiftool in response to 9315
Re: Support for commas in keywords
Oh. Also, I'm assuming we're writing IPTC:Keywords here, but if you are trying this with an XMP file, or a file already containing XMP:Keywords, then it won't work because XMP:Keywords is not a List-type tag.

- Phil
Direct Responses: Write a response
Posted on 2008-11-14 18:54:07-08 by neoarch in response to 9315
Re: Support for commas in keywords
That is my problem. I'm still using 7.00. I'll upgrade. Thanks for the help. That's a powerful little program you've developed, by the way.
Direct Responses: Write a response