1 Reply Latest reply on Oct 16, 2012 8:01 AM by -hans-

    ID CS4 get xmp-description

    -hans- Level 4

      Hallo,

       

      I've got a picture (picture = downloadlink ;-) ) and the metadata seems to be stored in namespace "http://purl.org/dc/elements/1.1/".

      ID CS 5.5 hasn't got a problem with it. It easy accessable over the linkXmp.description but CS 4 doesn't give any info.

       

      CS4 Bridge gives the info for the namespace:

       

       

      #target Bridge
      
      var thumb= new Thumbnail (File ('~/Desktop/37oc4040.jpg')); 
       var md = thumb.metadata;   
         md.synchronousMetadata;  
        var nameSpaces = new Array ("http://purl.org/dc/elements/1.1/");  
      for (var i = 0; i < nameSpaces.length; i++)  {  
          var currameSpace = nameSpaces[i]  
        md.namespace = currameSpace
          currDescription = md.description;  
          alert(currDescription)
         thumb.refresh()  
         }
      

       

      but

       

      app.selection[0].itemLink.linkXmp.getProperty("http://purl.org/dc/elements/1.1/", "description");
      

       

      throws a error

       

      Any advise?

       

      Hans-Gerd Claßen