FDK support for XMP metadata?

I want to be able to programmatically add metadata to FrameMaker files to make them more searchable.
According to the FDK Programmer's Reference (Version 10), you can "modify XMP data directly for a document by setting a value to the FP_FileInfoPacket document property." There is even an FDK client (setxmpinfo.c) to show how this can be accomplished.
The problem?
(1) Getting the property returns an empty string, regardless of whether the document (or book) contains an XMP packet.
(2) Setting the property causes no error (value of FA_Errno remains 0), but nothing useful happens. Reading the value immediately afterwards returns nothing, cf. above, and saving the file does not change the existing XMP packet in any way.
I've also tried to read the FP_PDFDocInfo property, which is supposed to contain string pairs corresponding to the content of the "File Info" box in FrameMaker, and also a subset of the information encoded in the XMP packet, but invariably got an empty string list.
Many thanks in advance for any suggestions that might be helpful. :-)
-Mark Ulrik (struggling FDK developer)

I'm particularly hoping to hear from folks who (like myself) have made an attempt to get this to work.
The simplest test I can think of is reading the doc's FP_FileInfoPacket property after having entered one or more values in FrameMaker's "File Info" dialog. In my experience, the result is invariably an empty string.
Despite what the documentation says, the harsh reality seems to be that the FDK implementation of these properties are mere stubs.

Similar Messages

  • [svn:fx-trunk] 5873: Adding support for [Alternative] metadata to the asdoc tool.

    Revision: 5873
    Author: [email protected]
    Date: 2009-04-02 09:46:24 -0700 (Thu, 02 Apr 2009)
    Log Message:
    Adding support for [Alternative] metadata to the asdoc tool.
    QE Notes: None.
    Doc Notes: None.
    Reviewed by: Paul
    tests: checkintests, asdoc
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/MetaDataEvaluator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelGenerator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java

  • Size limit for XMP metadata to be added externally to a file's metadata

    Hi,
    There is a situation where I need to add some 'text data' to the metadata of Adobe Illustrator document, in XMP format. The data being added is in the form of Array Item. While adding the data, I found that, after certain limit, the data addition is not happening. I read in the XMP Specification Part:3 that, the StandardXMP meta object(JPEG) can have size of 64 KB. It can be extended using ExtendedXMP object further..
    Is this limit applicable to text data also?
    Is there a limit on having such ExtendedXMP chunks?
    Will the data in ExtendedXMP be considered in same way as that of in StandardXMP?

    Hi,
    Your understanding is correct.
    I am able to add the metadata up to a certain point of time. After that as the CanPutXMP is failing, I am not able to put XMP packet inside the file.
    There is XMPMeta object - meta, which is derived from an AI file.
    SXMPMeta meta;
    myFile.GetXMP(&meta);
    //modifications appended to meta.
    string metaBuffer;
    meta.SerializeToBuffer(&metaBuffer);
    if(myFile.CanPutXMP(meta))
      // If so then update the file with the modified XMP
      myFile.PutXMP(meta);
    after certain point of time CanPutXMP is failing.
    Will you please tell me how to handle the CanPutXMP situation? What are probable causes for the same? I tried to google on it, but did not get satisfactory explanation.

  • To See training session for XMP Metadata

    Hi all,
    Can u plz tell me the link useful in training Session for getting and setting the metadata for image.
    Thanks
    Best Regards
    Dan

    Hi,
    Your understanding is correct.
    I am able to add the metadata up to a certain point of time. After that as the CanPutXMP is failing, I am not able to put XMP packet inside the file.
    There is XMPMeta object - meta, which is derived from an AI file.
    SXMPMeta meta;
    myFile.GetXMP(&meta);
    //modifications appended to meta.
    string metaBuffer;
    meta.SerializeToBuffer(&metaBuffer);
    if(myFile.CanPutXMP(meta))
      // If so then update the file with the modified XMP
      myFile.PutXMP(meta);
    after certain point of time CanPutXMP is failing.
    Will you please tell me how to handle the CanPutXMP situation? What are probable causes for the same? I tried to google on it, but did not get satisfactory explanation.

  • Microsoft Pro Photo Tools 2 Includes Support For XMP Sidcar Files

    http://www.microsoft.com/prophoto/downloads/tools.aspx
    This is a link to Microsoft's new Pro Photo Tools 2, which includes reading and writing to XMP sidecar files. I don't know how well it works.

    Have you looked at Jeffrey Friedl's cross platform tool? http://regex.info/blog/lightroom-goodies/gps and http://regex.info/blog/2008-10-29/979
    This works inside Lightroom, understands track log files, works with manual tagging from google maps and much more.

  • Defining Custom XMP Metadata Fields

    Is it possible (possibly through the export SDK?) to define a custom metadata field that Aperture can access?
    Specifically, Adobe allows Photoshop users to create custom metadata panels to define new XMP namespaces allowing new metadata standards to be entered. This information is saved with the image file, just like the IPTC XMP fields.
    However I am curious if there is any way Aperture can be customized to allow these custom fields to be read and set up as options in the metadata viewer.
    I'm currently involved with a NASA/ESA project to bring more complete metadata annotations to astronomy images, but so far Photoshop/Bridge seem to be the only packages with defined support for custom metadata. It would be fantastic if such fields could be accessed from Aperture too!
    PowerMac G5 2.3GHz   Mac OS X (10.4)  

    Hi Robert,
    Talk about timing! I just finished coding an export plugin for Aperture to do XMP metadata (beyond the built-in support that Aperture provides) that I'll be releasing as donation-ware in the next week and know all about this right now
    What you could do is add custom keys within Aperture, define your own XMP namespace, and then, in the plugin, map from your custom keys to the XMP namespace. If you want, drop me an email (joshanon at mac dot com), and I might be able to send you the source to my plugin as a starting point.
    Josh

  • Alfresco XMP Metadata Extractor

    Hi all,
    First of all I want to apologize if I do stupid questions, as I am new to Adobe world....
    I'm an Alfresco Consultant and want to extract the uploaded Adobe file's XMP metadata. As Alfresco is a Java product I need to do it in Java, so I was wondering if there's any Maven repository I can point to to use Adobe libraries (is there any Java library for XMP metadata extraction?)
    Thanks in advance.

    It looks like the XMP toolkit supports Java.
    Overview of the XMP Toolkit: (Link to tool kit located inside of document.
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/xmp/pdfs/XMP-Toolkit- SDK-Overview.pdf
    I'm sure you've already been through that just thought I'd direct you there JIC.
    Take care and good luck finding your solution,
    Kurtis

  • Add support for custom xmp panels

    Please add support for custom xmp panels.
    Thanks

    I would strongly support that too!!!
    Here is why: We have been working at an XMP implementation of the Darwin Core to support standardized metadata on biodiversity information. Have a look here. I would love to have an Panel in Lightroom to support the metadata that I am embedding with IDImager:
    http://wiki.idimager.com/index.php?title=DarwinCoreXMP#.27.27.27Darwin_Core_XMP.27.27.27
    Cheers,
    Frank

  • Editing XMP metadata in Bridge for checked-out files?

    Our custom connector does not implement the WRITE_XMP_METADATA Capability because we do not want to change the XMP of a file in our DAM system without checking in a new file version.
    However, when a file is checked out through Adobe Drive, we would expect to be able to edit its XMP metadata in Bridge just like we can for local files.
    It looks like this is still not possible with Adobe Drive 3, i.e. if your connector does not implement the WRITE_XMP_METADATA Capability you cannot edit XMP for checked out files either.
    It seems weird that you can edit XMP metadata for checked out files with regular CS applications but not with Bridge. Is this something that is expected to be fixed in a future version?
    Thanks

    In our design, editing XMP data in Bridge and in regular CS applications is different, the former one will be routed to SetXMPHandler in you connector, in the latter case, CS applications take the normal file writting ways to embed XMP data in the file content.
    The purpose of this design is to offer similar user experience for normal users when they edit XMP data for AD assets and local file assets, they don't need to check-out files first.
    To address your issue, I think you can add some codes in SetXMPHandler to auto check-out files before real XMP operation, and check-in them before exiting the handler
    We will consider to make some enhancements for this part, that's, to allow editng XMP data for the checked-out files in Br, in the next release, thanks for this advice.

  • [CS3 JS] How to force XMP metadata update for a thumbnail?

    Hi Folks,
    In a JavaScript in Bridge CS3, I'm updating a value in the XMP metadata for a Thumbnail. Later in the script I want to read the updated XMP metadata information from the Thumbnail, but often Bridge hasn't updated the metadata by the time I read it. In other words, my script reads the value prior to the update. I'm guessing there's a caching issue going on.
    I'm new to Bridge scripting, and I am hoping someone here can offer suggestions on how I can (or, even *if* I can) force Bridge to update the XMP metadata cache for a file so that when I read it later in the script it will reflect the recent changes. I've tried using Thumbnail.refresh(), but that doesn't seem to do the trick. I don't mind a slower script, I just want to be able to read the correct value.
    Thanks in advance for any help!
    -- Jim

    Hi David,
    I'm running this script on a MacBook Pro, 2.5GHz, 4GB RAM.
    Here is a sample JSX that shows the issue I'm having:
    #target "bridge-2.0"
    main();
    function main() {
        if( xmpLib == undefined ) {
            var pathToLib = Folder.startup.fsName + "/AdobeXMPScript.framework";
            var libfile = new File( pathToLib );
            var xmpLib = new ExternalObject("lib:" + pathToLib );
        var myValue = "Headline Test";
        var myFilePath = "~/Desktop/TestFile.tif";
        var curHeadlineStr = XMPGetHeadline(myFilePath);
        $.writeln("Headline value: \"" +  curHeadlineStr + "\"");
        XMPWriteHeadline(myFilePath, myValue);
        // *** I would like to refresh the cache here ***
        curHeadlineStr = XMPGetHeadline(myFilePath);
        $.writeln("Headline value: \"" +  curHeadlineStr + "\"");
    function XMPGetHeadline(theFilePath) {
        var thumb = new Thumbnail(File (theFilePath) );
        md = thumb.synchronousMetadata;   
        xmp = new XMPMeta(md.serialize());
        var myHeadlineXMPProp = xmp.getProperty
            (XMPConst.NS_PHOTOSHOP, "Headline", XMPConst.STRING);
        return myHeadlineXMPProp;
    function XMPWriteHeadline(theFilePath, theTextStr){
        var thumb = new Thumbnail(File (theFilePath) );
        md = thumb.synchronousMetadata;   
        xmp = new XMPMeta(md.serialize());
        var myOrigHeadlineXMPProp = xmp.getProperty
            (XMPConst.NS_PHOTOSHOP, "Headline", XMPConst.STRING);
        xmp.deleteProperty(XMPConst.NS_PHOTOSHOP, "Headline");
        xmp.setProperty(XMPConst.NS_PHOTOSHOP, "Headline", theTextStr, 0, XMPConst.STRING);
        var updatedPacket = xmp.serialize
            (XMPConst.SERIALIZE_OMIT_PACKET_WRAPPER | XMPConst.SERIALIZE_USE_COMPACT_FORMAT);
        thumb.metadata = new Metadata(updatedPacket);
    To run this script, in main(), set the myFilePath variable to the path of a file that has an "IPTC Code" "Headline" property.
    This script, when run, sets the "Headline" property value to the value of myValue. After runing the script for the first time, take a look at the console log. You should see that Headline value displayed does not change between the two console entries. My log looks like this after the first run:
      Headline value: "undefined"
      Headline value: "undefined"
    The thing is, the second entry in the console listing, above, was created after the Headline value was set by XMPWriteHeadline(). The two values should be different between the two console entries.
    If you run the script a second time against the same file, you will see that the Headline value does contain the value that was written in the first run of the script--it just took some time to update the cache, I'm guessing. Here's the second run's log:
      Headline value: "Headline Test"
       Headline value: "Headline Test"
    So, what I'm looking for is a way to insert code (where the comment line "//*** I would like to refresh the cache here ***" appears), to force Bridge CS3 to refresh its cache so that when I call XMPGetHeadline() after calling XMPWriteHeadline(), the Headline value will return the value that was just written.
    I hope this is clear enough...
    Thanks!!!!
    -- Jim

  • [svn] 3319: Adding support for documentation of SkinStates metadata.

    Revision: 3319
    Author: [email protected]
    Date: 2008-09-23 13:29:09 -0700 (Tue, 23 Sep 2008)
    Log Message:
    Adding support for documentation of SkinStates metadata. xslt files still needs to be updated to generate html for this metadata.
    Removing some unused code from ASDocExtension
    Fix for SDK-16759 - @example tag adds 'How to use examples' link to a file that's not present
    Fix for SDK-17001 - ASDoc should add "import flash.events.Event" when it encounters the [Bindable] tag
    QA: Yes
    Doc:
    Reviewed By: Paul
    Tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16759
    http://bugs.adobe.com/jira/browse/SDK-17001
    Modified Paths:
    flex/sdk/trunk/asdoc/templates/class-files.xslt
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ASDocExtension.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelGenerator.java

    There is actually code in the base class that tests for
    whether the (extended) class implements the interface, so you don't
    need to add any methods - the interface itself is used as a "marker
    interface". Try setting the focusEnabled property to true as well
    (if you haven't already).
    If none of this works, have a look at the source of the
    canvas class - from within flexBuilder, hold down Ctrl and click on
    the reference to Canvas in your class (extends...). This should
    open the source in your editor and you can search for "focus" and
    probably find our where it's going wrong.

  • CS4 | Portfolio | Entering desciptions | no support for metadata?

    Best regards
    I use Lightroom 2.x. I have done a lot of work entering descriptions, captions, titles and metadata like this in the library.
    I want to make some ACROBAT PORTFOLIO documents. In portfolio you can add descriptions under the images, which is a nice feature. HOWEVER I would hope that you could use SELECTED metadata fields to bring this information from the image into portfolio. It is crazy to have to re-enter this information.
    Is there a way, and why not if not, to see the enter comments fields in the portfolio creation/edit windows to USE the METADATA fields you entered in Lightroom?
    I am curious why there is not more import and support for metadata between adobe products...in particular there should be numerous painless ways to bring lightroom collections into portfolio without having to do everything all over again.
    Maybe there are scripts but I never use them. Anyone have any ideas on this? PORTFOILIO looks promising but is also rigid in ways, such as this problem.
    OSX 10.5.4 | iMac 20 in alum Intel | 4 gb ram | Acrobat CS4, Lightroom 2
    Turtle Heart (my real name)
    Ojibway American Indian Artist

    I am also discovering this problem. I have over 3500 pdfs that I would like to organize for a digital management library for our clients. I have entered the metadata and keywords thru Adobe Bridge.  This filtering works very well. But our client doesn't have adobe products. The PDF portfolio seemed like a great way to share our content. But, none of the metadata or keywords are brought along with the images. The description fields are empty in Portfolio. I would agree, it would be ridiculous to add this data twice. I would also agree, that maybe there is a script that could be written in the mean time to solve this problem. Does anyone have a suggestion of a better way the adobe products could be utilized to achieve the same working idea? I know other subscription websites also do pdf archives that are searchable, it is not a new idea. So, maybe it is just a web page developement, done by our webmaster thru Dreamweaver?

  • Is it possible to use markers in a Premiere Pro sequence such as Chapter / Comment / Segmentation and export the XMP metadata for a database so that when the video is used as a Video On-Demand resource, a viewer can do a keyword search and jump to a relat

    Is it possible to use markers in a Premiere Pro sequence such as Chapter / Comment / Segmentation and export the XMP metadata for a database so that when the video is used as a Video On-Demand resource, a viewer can do a keyword search and jump to a related point in the video?

    take have to take turns
    and you have to disable one and enable the other manually

  • Custom command for custom XMP metadata

    Hi
    I'm trying to create a custom command for setting and getting custom XMP metadata using InDesign CS3 SDK with Xcode.
    I think I got the step 1) to 3) ok. But not so sure about step 4).
    Please take a look and tell me if I have got anything wrong.
    1) Create 2 classes and 1 interface
    MyCustomMetadata
    MyCustomMetadataSetCmd
    IMyCustomMetadata
    2) Define class definitions in the resource file
    /** Boss class for kMyCustomMetadataBoss */
    Class
    kMyCustomMetadataBoss,
    kInvalidClass,
    IID_IMYCUSTOMMETADATA, kMyCustomMetadataImpl,
    /** Boss class for kMyCustomMetadataSetCmdBoss */
    Class
    kMyCustomMetadataSetCmdBoss,
    kInvalidClass,
    IID_ICOMMAND, kIQAdTicketMetaDataSetCmdImpl,
    IID_IMYCUSTOMMETADATA, kMyCustomMetadataImpl,
    3) Define functions for setting and getting values in MyCustomMetadata
    GetMyTitle()
    SetMyTitle()
    Within these functions, use IMetadataAccess interface to set/get values.
    4) Create Do() function in MyCustomMetadataSetCmd
    ??? I'm not sure what I'm supposed to do here ???
    Any help would be really appreciated.
    Thanks,
    JP

    m41miller42 wrote:
    I am attempting to create a custom RSS file (.mrss) that references XMP metadata from Premiere.
    I was basing the move on this statement. This was posted in the Adobe Connect forums.

  • [svn] 3312: Adding support for documentation of HostComponent metadata.

    Revision: 3312
    Author: [email protected]
    Date: 2008-09-23 09:48:02 -0700 (Tue, 23 Sep 2008)
    Log Message:
    Adding support for documentation of HostComponent metadata. If a comment is added to the metadata declaration it should appear with the generated property.
    Also adding support to strip out the beginning dash (-), for comments which are of the form
    QA: Yes
    Doc:
    Reviewed By: Paul
    Tests: checkintests
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/HostComponentEvaluator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/MxmlScanner.java

    There is actually code in the base class that tests for
    whether the (extended) class implements the interface, so you don't
    need to add any methods - the interface itself is used as a "marker
    interface". Try setting the focusEnabled property to true as well
    (if you haven't already).
    If none of this works, have a look at the source of the
    canvas class - from within flexBuilder, hold down Ctrl and click on
    the reference to Canvas in your class (extends...). This should
    open the source in your editor and you can search for "focus" and
    probably find our where it's going wrong.

Maybe you are looking for

  • OK CODE FOR SINGLE CLICK IN DYNPRO

    HEY GUYS, CAN YOU PLEASE TELL ME WHATS THE OKCODE FOR SINGLE CLICK. IF I MAKE SINGLE CLICK IN TABLE CONTROL COLUMN HEADER ITS NOT GOING TO PAI FLOW LOGIC. PLEASE SUGGEST ME ..HOW TO GO WITH PAI USING SINGLE CLICK ACTION WITH TABLE CONTROL COLUMN HEAD

  • SourceFileTimestamp not picking up properly

    I am trying to extract the source file time stamp using the Adapter Specific Message Attributes. This property is checked in the Sender File Adapter , however this is not getting picked up properly as shown below (picked up as -)  when I am retrievin

  • WebHelp Navigation Bar in IE vs. Firefox

    Hi, I'm using RH8 HTML output to WebHelp and trying to customize the look to better match our product. I've been able to create buttons that look like tabs to mirror our product, but I'm having one display issue in IE vs. Firefox. My faux-tab looking

  • When my iPhone rings the picture know longer comes up of the person calling

    When my son or daughter call - normally their picture pops up when the phoen rings - I upgraded to Ios 7 and this know longer happens.  How do I fix this?

  • Where can i find Storedge firmware features

    Hello! Can anybody tell me where can i find documents describing new features for Storedge firmware releases? For example, i need information to compare 06.60.11.10 and 06.19.25.16 versions. Thanks in advance