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
Ok, guess I found a solution in this forum:
app.selection[0].itemLink.linkXmp.getProperty("http://purl.org/dc/elements/1.1/", "title/*[1]"/* and so on "subject/*[1]""creator/*[1]" "description/*[1]"*/);