|
XMP is a bit of a pain, and I'm afraid that the PHP Metadata toolkit has been broken by more recent releases.
The PHP Metadata toolkit works well where the XMP was injected by Photoshop CS and previous versions. However in CS2 which uses more recent versions of the XMP toolkit, Adobe has decided on a completely different syntax for XMP. This breaks the PHP Metadata toolkit which makes assumptions (reasonable ones I have to say) about the RDF serialisation which is being used.
I'm not an RDF expert, but it looks to me as though the new format strays further from the spirit of RDF. Its an odd looking serialisation with nearly every datum recorded as an attribute of the top level rdf tag.
The PHP Metadata toolkit still has uses (it can still pull out JPEG thumbnails for example) but it is not being actively developed.
I'm going to try a couple of PHP based RDF parsers on the new format and see if they can handle this serialisation, but I'm not too hopeful.
Paul AT architek DOT co DOT uk
|