5 thoughts on “XMP: First Hacks

  1. Alexander Griekspoor

    Hi Tony,
    I think it would be great if all publishers would finally start to add decent metadata to their PDF files.
    Of course it would be even better if they would use the full potential of XMP, but I personally would already be really happy if they could start with the normal metadata fields that have been there since the beginning of PDF. Only Elsevier deserves credit here as they do already put the DOI in the metadata. Many other publishers don’t add anything, or even worse, fill in the name of the registered acrobat user in the author field!
    It seems the response of most publishers is that they think no one uses that stuff. Wrong!
    Of course, there are the users of our program Papers that would be served a great deal, but the publishers forget that right now ALL mac users running OSX Tiger (which is in the order of 80%) would benefit directly from it the moment they would add it. Spotlight already knows how to read it, it’s just not there. Add the metadata and your PDFs become instantly more accessible for a large number of users.
    Back to XMP, it would be great to see this added by the publishers. It would be important that everyone would do it in the same way (hooray for dublin-core). And that in a more limited form the data would also be added in the classical metadata fields (including the DOI).
    The toolset for accessing XMP data in PDFs is still quite problematic for everyone who’s not a C++ junkie, like this Cocoa guy. Hopefully this will change soon as well.
    It’s great to finally see some initiatives to get the (complete lack of) PDF metadata on the agenda!

  2. Florent

    Hi Tony,
    I’m trying to build XMP Library with Xcode but all I get is a bunch of errors.
    I must have missed something about the building procedure (which is not documented as far as I know).
    Could you please tell me if you used some tricks to do it?
    Thanks a lot!

  3. Tony Hammond

    Hi Florent:
    No tricks. (Dear God, I’m no C++ programmer. Just a harmless hacker. ;)
    The problem I ran into – and it may be the same that you’re seeing – is that the XMP Toolkit sample programmes cannot be compiled out of the box since Adobe do not ship “Expat” – James Clark’s XML parser – but just leave a placeholder for that. You’ll need to look at the ReadMe.txt file included in the distro. This from the xmp_sdk_overview.pdf:
    “/third-party/expat Contains a placeholder for the Expat XML parser used by XMPCore.
    Read the ReadMe.txt for information about obtaining Expat.”
    You’ll find that file here in the distro:
    ./third-party/expat/ReadMe.txt
    Hope that helps. Let me know if you still have problems.
    Tony

  4. Florent

    Hi Tony,
    My compile errors were caused by an XCode bug:
    XCode do not accept space characters in the project path. So when it happens, you get a lot of errors coming from nowhere…
    Thanks for your help,
    keep on hacking ;)

  5. kaushik

    hi i am a new bie to cocoa..
    pls anyone help me … in how to read XMP metadata using objective C… thank you.. your suggestion will help me lot…

Comments are closed.