Before I submit a new request on this, I'd like to have a quick discussion. I saw the topic of XMP listed in some old enhancement requests and forum postings, but no specific mention of whether or not it was implemented.
Windows Vista uses XMP as the native tagging engine for photos (via Windows Photo Gallery). The last batch of photos I uploaded were auto-tagged with "Christmas" by Vista on import, and I don't see that tag showing up in ZP so I assume it's not reading XMP tags.
Is there anything I've missed, or should I submit the request? Given Vista's native use of XMP, I think it should be in ZP as well.
Comments
I'll call that a victory - at least they did more than the original plan to just store it as a windows file attribute which would have be useable by nobody. ;-)
I'll add a FR and attach a photo to it as well.
http://www.zenphoto.org/trac/ticket/351
I am sorry to hear that Vista has adopted this bit of a kludge, but then that is just another reason not to upgrade from XP.
Certainly we could immplement XMP so long as someone has PHP support for retrieving the fields. Submit a feature request. When we get the voting working we will see if it warrents devoging developer time.
http://blogs.msdn.com/pix/archive/2006/08/16/702780.aspx
There is a toolkit here that does XMP, but it looks like it's not being maintained any more. http://www.ozhiker.com/electronics/pjmt/
There's also some sample code here that looks useful: http://photography-on-the.net/ee/beta/cs_xmp_to_exif.php
Bottom-line, from looking at both of these code samples, is that you just open the file and read in the XML data using standard PHP commands. Then you can either manually parse the data, or use PHP's XML library. If I open the JPG file in notepad, I can see the XML data there in plain text.
I've finally added a sample file to the bug this morning as well.
I do love the XMP standard and how clean and handy it is. Well tough many people don't like it the reason given is all the small extra little files all over the place. I do like it however. I am looking forward to see how the DNG goes in the future where the XMP is "build" into the RAW file.
Because it's built on XML and has dynamic DTDs, we can specify any kind of data and embed that data portably into the file. This includes schema for videos, tifs, and all sorts of files. I think zenphoto has a great organizational backend and database. It now needs to extend to include many forms of media and media tagging schemas. If it does this, it can become the mama bear.
It just takes someone who is interested in this to do the work.
BTW: Adobe Bridge is quite happy to store the metadata in the traditional EXIF/IPTC fileds.