Hi, Andrea,
XMP is natively an RDF-based format, so getting out XML isn't hard at all.
You have a couple of XML-based options with exiftool:
exiftool -X foo.jpg # prints the metadata in exiftool's own RDF/XML schema
to stdout
exiftool -tagsfromfile foo.jpg -o foo.xmp # writes the metadata in an XMP
XML file
Exiftool -tagsfromfile foo.jpg -o -.xmp # writes the metadata in XMP XML
to stdout; only works in recentish versions of exiftool
exiftool also has a CSV output that might be helpful to you; check
`exiftool --help` for details on how that works.
Misty
On 13-01-10 11:32 AM, "Medina-Smith, Andrea"
<[log in to unmask]> wrote:
>I can get the data out, and I can even get a single file created w/ all
>the metadata for all the images in the collection. It's just that it is
>unstructured and not useful as such. Anything xml would also be useful,
>but I haven't found a product that does that.
>
>I was really trying not to just call you up ;)
>
>-a
>
>__________________________________________________________________________
>_____
>Andrea Medina-Smith
>Metadata Librarian
>NIST Gaithersburg
>[log in to unmask]
>301-975-2592
>
>Be Green! Think before you print this email.
>
>
>-----Original Message-----
>From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of
>[log in to unmask]
>Sent: Thursday, January 10, 2013 12:02 PM
>To: [log in to unmask]
>Subject: Re: [CODE4LIB] XMP Metadata to tab-delemited file
>
>ResourceSpace does this internally to extract metadata. I think it's as
>simple as
>
>exiftool -t -s imagefile.tif metadatafile.tab
>
>Does this do what you want?
>
>-DD
>
>
>__________
>
>David Dwiggins
>Systems Librarian/Archivist, Historic New England
>141 Cambridge Street, Boston, MA 02114
>(617) 994-5948
>[log in to unmask]
>http://www.historicnewengland.org
>>>> "Medina-Smith, Andrea" <[log in to unmask]> 1/10/2013 10:57
>>>>AM >>>
>Hello,
>
>I need to take xmp metadata that is imbedded in tif images and pull it
>out into a tab delimited text file for ingest into our digital repository
>(CONTENTdm). Has anyone done this using exiftool or the like?
>
>Thanks,
>A
>
>__________________________________________________________________________
>_____
>Andrea Medina-Smith
>Metadata Librarian
>NIST Gaithersburg
>[log in to unmask]
>301-975-2592
>
>Be Green! Think before you print this email.
|