metadata templates - how to do multiple operations on a single tag?

Started by Joe Austin, December 18, 2014, 02:22:44 AM

Previous topic - Next topic

Joe Austin

Within a single tag, is it possible to do something like...

change 'this' to 'that'... and change the entire tag to lower case in the same metadata template ?

I have done each individually, but can't figure out the syntax to do both in the same template.

After reading the documentation on using variables, I tried   

{File.MD.XMP::dc\description\Description\0|replace:this==that|to_lower}

but that didn't work.

Mario

{File.MD.XMP::dc\description\Description\0|replace:this==that;to_lower}

There can be only one | in your variable expression. Use ; to separate multiple functions as documented. Works.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook