Lightroom - writing an XML-export plugin/action

Discussion in 'Photoshop' started by spacemarine, Apr 26, 2007.

  1. spacemarine

    spacemarine Guest

    well, i think im sold on LR. ive looked at the alternatives, and it
    seems to be the best combo of features i need (except for the lack of
    rich in-program web sharpening. the photoshop droplet hack works for
    now). only one piece is missing, and i have a complete workflow.

    i dont use a commercial photo sharing site, i use my own...i like it
    (http://www.semi-suave.com), and i like my search capabilities -- i
    have 5k images, each w/ unique tags & captions, all of which can be
    searched very quickly via to an in-memory XML catalog sitting on the
    web server. its a roll-yer-own solution, and theyre fading out.. but
    it works well. the only thing left to make the workflow from LR to web
    seamless is updating my XML catalog.

    to this end, im interested in writing a LR export action/plugin that,
    for a given selection, outputs the file, camera, keywords & caption
    data to an XML file (alongside the web JPGs). from there my automated
    processes can copy the .JPGs to the website, pick up the .XML and
    integrate it into the master XML catalog.

    sounds like fun. anybody know a good place to start?


    thanks,
    sm
     
    spacemarine, Apr 26, 2007
    #1
    1. Advertisements

  2. spacemarine

    =\(8\) Guest

    Can't at least right now. Adobe is still several months away from releasing
    the LR SDK which would tell you how to do that if it is even possible. It
    looks like Modules is what that will be covering but who knows until they
    get it done. It could also be pushed back depending on what they are doing
    with the LR 1.1 update that should be out in the next few months.

    =(8)
     
    =\(8\), Apr 27, 2007
    #2
    1. Advertisements

  3. spacemarine

    spacemarine Guest

    well, i learned that the SDK is not out yet, so really nothing can be
    done.

    however, by instructing LR to embed all relevant metadata into the web
    JPGs via XMP, it is very possible to write code to extract it, which i
    am now using for my website's import process. i based my C# class off
    of these articles:

    http://www.shahine.com/omar/ReadingXMPMetadataFromAJPEGUsingC.aspx

    http://tinyurl.com/2wjgta

    .....for anyone thats interested i will likely post my code on my site
    at some point.


    sm
     
    spacemarine, Apr 28, 2007
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.