cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to files using a metadata extractor

damonrand
Champ in-the-making
Champ in-the-making
Hi,

     Quick question about metadata extractors.. Do they support a situation where data is written in both directions? If I make a change to an Alfresco property can it be written back into the native file?

Took a very quick glance over the metadata extractor source but I can't see how this could be done?

Regards,
Damon.
4 REPLIES 4

rgauss
Champ in-the-making
Champ in-the-making
We've just released a project that provides a framework for doing just that:

http://forge.alfresco.com/projects/embedders/

The XMP and IPTC forge projects have been extended to include embedders drawing on the above project.

lock999
Champ in-the-making
Champ in-the-making
Hi,

I have come to know that there is a new prebuilt XML Metadata Extractor in Alfresco 2.1. I am looking for more information on metadata extraction. Please see post (http://forums.alfresco.com/viewtopic.php?t=7237).

Did you successfully use the Metadata Embedders at http://forge.alfresco.com/projects/embedders/ to extract and write in both directions?

rgauss
Champ in-the-making
Champ in-the-making
I can't say much about any built-in extractor in a future release but the method of extraction of XML embedded in a file other than an XML text file is going to depend somewhat on the type of file you're trying to extract from.

Did you successfully use the Metadata Embedders at http://forge.alfresco.com/projects/embedders/ to extract and write in both directions?

Yes.  The XMP Metadata Extensions project at http://forge.alfresco.com/projects/xmp does just that and uses ExifTool for extracting the XMP segment from the files so supports a wide variety of file types.

The IPTC/EXIF Metadata Extensions project at http://forge.alfresco.com/projects/iptc-exif is an example of an extension of the XMP project for a specific XMP data subset.

Hope that helps.

lock999
Champ in-the-making
Champ in-the-making
Thanks for the quick reply. I will go through both the projects to see if it meets our requirements.