IPTC Keyword phrases
Posted: Sun Nov 14, 2010 3:06 am
Hello,
I am trying to extract from JPEG file the IPTC medatada. I have no problem doing that except with the Keywords field
If am referring to the tag 2#025:
I am using the code:
When I have single word keywords, then I have no problem: Italy, Greece, Belgium ... . But when I am having keyword phrases, like "The Netherlands", "United States", or "Pacific Ocean", then the extraction does not keep the phrases. I will get an list of arrays like:
[0]: Netherlands
[1]: United
[2]: The
[3]: States
etc... with no real control on the order of the elements.
Any suggestion what to do to keep the phrases as their orgin?
Thanks, Yoel
I am trying to extract from JPEG file the IPTC medatada. I have no problem doing that except with the Keywords field
If am referring to the tag 2#025:
I am using the code:
Code: Select all
for ($i=0; $i<$keywordcount; $i++) $keywords .= $iptc["2#025"][$i] . ",";[0]: Netherlands
[1]: United
[2]: The
[3]: States
etc... with no real control on the order of the elements.
Any suggestion what to do to keep the phrases as their orgin?
Thanks, Yoel