Thread Locked This thread is locked - replies are not allowed.



Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]
RobM

Posts: 3,821
Registered: 4-Aug-2006
Get XMP data from sidecar files
Posted: 16 Jun 21, 23:59
The attached tool will import titles, comments and/or keywords from xmp sidecar files.

The original tool was written for a specific user of Excire software, but has been modified to allow it to work with any XMP sidecar file. It loads all xmp files found in the source directory, and then searches for the specific tags entered by the user. It will go through all images in the current project and import Titles, Comments and/or Keywords, from an xmp file with the image's base name. The xmp files can be inside the project or anywhere else. The tool will go through all subdirectories of xmp location, looking for further xmp files.

Typical xmp data is in the format of
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 6.0.0">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""
            xmlns:exif="http://ns.adobe.com/exif/1.0/"
            xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
            xmlns:dc="http://purl.org/dc/elements/1.1/">
		<dc:title>Title Cards</dc:title>
		<dc:description>Card Making</dc:description>
		<dc:subject>
			<rdf:Seq>
				<rdf:li> Keyword 1</rdf:li>
				<rdf:li>Keyword 2</rdf:li>
				<rdf:li> Keyword 3</rdf:li>
				<rdf:li> Keyword  4</rdf:li>
			</rdf:Seq>
		</dc:subject>
      </rdf:Description>
   </rdf:RDF>
</x:xmpmeta>


Instructions for use
Edited by: RobM on 27 Aug 2021, 19:52
Replaced tool by one that will work with any XMP data file of the above format
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums