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 2009-05-05 14:31:08-07 by pixelpicker in response to 10596
Re: Separating languages in keywords & caption...
Hello Phil! Hope you had a wonderful vacation - welcome back :)

Yes, I have to do something to separate the language-keywords.
Cause its not possible to write the two languages completely into the XMP it makes no sense to use XMP. Sad.
Half the way I found a solution:
I use your unser-defined tags with the config-file. For the caption it looks like this:

MyCaptionB => { Require => 'Caption-Abstract', ValueConv => q{ $val=~s/([^\|]*)\| .*/\1/ ? $val : undef }, },

This script cuts everything after the separator | as it looks up to now. (I say "looks" cause I found the command
s/([^\|]*)\| .*/\1/
in the net and after experimenting it seems to work.)

What remains is a script to cut vice versa: cut everything before |

One could use the double keyworded images for storing and when a language is needed one could create a copy of the image an delete the not needed language in this new image. The command for copying and deleting after the | should look something like this:

exiftool -o DIR "-caption-abstract<mycaptionb" DIR


Do you have any clue how to cut vice versa?

Many greetings
pixelpicker
Direct Responses: 10600 | Write a response