-
1. Re: JS CS3 search metadata
Paul Riggott Apr 5, 2011 1:27 AM (in response to John.Kordas)You can get the keywords with....
alert(app.activeDocument.info.keywords);
-
2. Re: JS CS3 search metadata
JJMack Apr 5, 2011 5:28 AM (in response to John.Kordas)Parsing metadata is not as simple as that function "rdf:li" is used all over the place for list items there may be multiple elements in a list item and more then one list item as well as more then one list. I just open a raw file that has no keywords and extracted the metatdata and looked for rdf:li found data like this:
<rdf:Description rdf:about=""
xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:creator>
<rdf:Seq>
<rdf:li>McAssey</rdf:li>
</rdf:Seq>
</dc:creator>
<dc:format>image/tiff</dc:format>
</rdf:Description>
<crs:ToneCurve>
<rdf:Seq>
<rdf:li>0, 0</rdf:li>
<rdf:li>255, 255</rdf:li>
</rdf:Seq>
</crs:ToneCurve>
<exif:ISOSpeedRatings>
<rdf:Seq>
<rdf:li>800</rdf:li>
</rdf:Seq>
</exif:ISOSpeedRatings>
There are no keywords for this image but you parse function found my name..."McAssey"


