Hello,
I'm working towards automating the transfer of hierarchical XMP tags to ACDSee categories, but I've run into a problem in the early stages. I've been doing some experimenting, and I'm struggling to make ACDSee see the categories when they're created by ExifTool.
I have a file, test_file.jpg, which was originally tagged using XnView.
Running
exiftool -xmp -b test_file.jpg > test_file.xmp
gives this:
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.5.0">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:lr="http://ns.adobe.com/lightroom/1.0/">
<dc:subject>
<rdf:Bag>
<rdf:li>France</rdf:li>
<rdf:li>Post-processed</rdf:li>
<rdf:li>Autumn</rdf:li>
</rdf:Bag>
</dc:subject>
<lr:hierarchicalSubject>
<rdf:Bag>
<rdf:li>Country|France</rdf:li>
<rdf:li>Other|Post-processed</rdf:li>
<rdf:li>Subject|Autumn</rdf:li>
</rdf:Bag>
</lr:hierarchicalSubject>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end="w"?>
I make a copy of the file, and add the same categories manually to the ACDSee group (eventually I hope to automate this bit):
exiftool -xmp-acdsee:categories=exiftool -xmp-acdsee:categories="<Categories><Category Assigned=\"0\">Country<Category Assigned=\"1\">France</Category></Category><Category Assigned=\"0\">Other<Category Assigned=\"1\">Post-processed</Category></Category><Category Assigned=\"0\">Subject<Category Assigned=\"1\">Autumn</Category></Category></Categories>" test_file_exiftool.jpg
When I view this file in ACDSee, it doesn't appear to see these categories, yet they do exist in the file.
exiftool -xmp -b test_file_exiftool.jpg > added_with_exiftool.xmp
Gives:
<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Image::ExifTool 11.36'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
<rdf:Description rdf:about=''
xmlns:acdsee='http://ns.acdsee.com/iptc/1.0/'>
<acdsee:categories><Categories><Category Assigned="0">Country<Category Assigned="1">France</Category></Category><Category Assigned="0">Other<Category Assigned="1">Post-processed</Category></Category><Category Assigned="0">Subject<Category Assigned="1">Autumn</Category></Category></Categories></acdsee:categories>
</rdf:Description>
<rdf:Description rdf:about=''
xmlns:dc='http://purl.org/dc/elements/1.1/'>
<dc:subject>
<rdf:Bag>
<rdf:li>France</rdf:li>
<rdf:li>Post-processed</rdf:li>
<rdf:li>Autumn</rdf:li>
</rdf:Bag>
</dc:subject>
</rdf:Description>
<rdf:Description rdf:about=''
xmlns:lr='http://ns.adobe.com/lightroom/1.0/'>
<lr:hierarchicalSubject>
<rdf:Bag>
<rdf:li>Country|France</rdf:li>
<rdf:li>Other|Post-processed</rdf:li>
<rdf:li>Subject|Autumn</rdf:li>
</rdf:Bag>
</lr:hierarchicalSubject>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end='w'?>
Then, I make another copy of the original file, go into ACDSee, and create the same tags manually.
exiftool -xmp -b test_file_acdsee.jpg > added_with_acdsee.xmp
gives me this:
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.5.0">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:lr="http://ns.adobe.com/lightroom/1.0/"
xmlns:acdsee="http://ns.acdsee.com/iptc/1.0/"
xmlns:xmp="http://ns.adobe.com/xap/1.0/">
<dc:subject>
<rdf:Bag>
<rdf:li>France</rdf:li>
<rdf:li>Post-processed</rdf:li>
<rdf:li>Autumn</rdf:li>
</rdf:Bag>
</dc:subject>
<lr:hierarchicalSubject>
<rdf:Bag>
<rdf:li>Country|France</rdf:li>
<rdf:li>Other|Post-processed</rdf:li>
<rdf:li>Subject|Autumn</rdf:li>
</rdf:Bag>
</lr:hierarchicalSubject>
<acdsee:caption/>
<acdsee:datetime>2005-12-05T10:29:58.000</acdsee:datetime>
<acdsee:author/>
<acdsee:rating>0</acdsee:rating>
<acdsee:notes/>
<acdsee:tagged>False</acdsee:tagged>
<acdsee:categories><Categories><Category Assigned="0">Country<Category Assigned="1">France</Category></Category><Category Assigned="0">Other<Category Assigned="1">Post-processed</Category></Category><Category Assigned="0">Subject<Category Assigned="1">Autumn</Category></Category></Categories></acdsee:categories>
<acdsee:collections/>
<xmp:Rating>0</xmp:Rating>
<xmp:Label/>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end="w"?>
Could the different structures be causing the problem here? Happy to send the original file if it would help. Any thoughts very much appreciated.