Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/content/60/9972860/html/smf/Sources/Load.php(225) : runtime-created function on line 3

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/content/60/9972860/html/smf/Sources/Load.php(225) : runtime-created function on line 3
Entering multiple items in People and Other Categories
The DAM Forum
Welcome, Guest. Please login or register.
December 05, 2020, 10:53:12 AM

Login with username, password and session length
Search:     Advanced search
28033 Posts in 5147 Topics by 2903 Members
Latest Member: kbroch
* Home Help Search Login Register
+  The DAM Forum
|-+  Software Discussions
| |-+  ImageIngester and ImageVerifier
| | |-+  Entering multiple items in People and Other Categories
« previous next »
Pages: [1] Print
Author Topic: Entering multiple items in People and Other Categories  (Read 4922 times)
Michael Garner
Newbie
*
Posts: 29


View Profile Email
« on: September 18, 2007, 07:28:04 AM »

I am currently testing ImageIngesterPro Version 2.3.01B16

I have a couple of questions regarding passing elements with multiple entries. By adding a section to the metadata template to support Expression Media, my catalog sets and people items are being passed to Expression media. Catalog sets are being entered in the selection tree and are passing without issue.

1) People entries
When I pass the people items, they become separated by both commas and semicolons, For example:

"Person1; Person2" becomes:
   Person1
   Person2

"Person1, Person2" also becomes:
   Person1
   Person2

This means that I cannot use a lastname, firstname format. For example:
"Smith, John; Jones, Robert" becomes:
   Smith
   John
   Jones
   Robert
Here is the section from the generated XMP file:
Code:
         <expressionmedia:People>
            <rdf:Bag>
               <rdf:li>Smith</rdf:li><rdf:li> John</rdf:li><rdf:li> Jones</rdf:li><rdf:li> Robert</rdf:li>
            </rdf:Bag>
         </expressionmedia:People>

Looking at earlier posts it seems that the commas shouldn't be recognized as separators. Perhaps this is a bug.
Otherwise, is there anyway to specify that the comma not be recognized as a delimiter?

2) Categories
When I enter multiple items into the Content tab "Other Categories", the items are not parsed, either by comma or semicolon. For example:

"Category1; Category2, Category3" becomes a single entry:
Category1; Category2, Category3

Here is the section from the generated XMP file:
Code:
         <photoshop:SupplementalCategories>
            <rdf:Bag>
               <rdf:li>Category1; Category2, Category3</rdf:li>
            </rdf:Bag>
         </photoshop:SupplementalCategories>

Since Iview/Expression Media recognizes multiple entries for thie element, is it possible for ImageIngester to parse these into child elements?

In both of these cases (People and Categories), I am using Quick Field entries to enter the content.

Best regards,
Michael
Logged
Marc Rochkind
Hero Member
*****
Posts: 1136


View Profile WWW Email
« Reply #1 on: September 18, 2007, 07:39:53 AM »

Michael--

I recently changed IIP to allow a comma as a separator, to conform to the convention that Adobe uses (e.g., the File Info panel in Photoshop). Requested by a guy named Peter Krogh. ;-)

I'll look into the Other Categories section to see if I can make that one a comma/semicolon separated list as well.

--Marc
Logged

Michael Garner
Newbie
*
Posts: 29


View Profile Email
« Reply #2 on: September 18, 2007, 10:45:11 AM »

Marc,

I understand.

After further testing with the Adobe Iview File info tab (Actually I added a modified tab for Expression Media), Adobe will embed the commas if enclosed in quotes.

For example, if the following is entered in the People field on the Ivew tab:
   "LastName1, FirstName1" ; "LastName2, FirstName2"; LastName3, FirstName3"
These items appear in iview/EM:
   LastName1, FirstName1
   LastName2, FirstName2
   LastName3, FirstName3

This is the metadata that Adobe creates:
Code:
   <expressionmedia:People>
    <rdf:Bag>
     <rdf:li>LastName1, FirstName1</rdf:li>
     <rdf:li>LastName2, FirstName2</rdf:li>
     <rdf:li>LastName3, FirstName3</rdf:li>
    </rdf:Bag>
   </expressionmedia:People>

Is there any chance that your parser could handle commas embedded between quotes?

Thanks,
Michael
« Last Edit: September 18, 2007, 03:06:15 PM by Michael Garner » Logged
Marc Rochkind
Hero Member
*****
Posts: 1136


View Profile WWW Email
« Reply #3 on: September 20, 2007, 10:43:53 AM »

Michael--

I've changed a beta I'm working on (not uploaded yet... will be in a few days) to allow lists in the Other Categories field.

--Marc
Logged

Michael Garner
Newbie
*
Posts: 29


View Profile Email
« Reply #4 on: September 20, 2007, 02:10:25 PM »

Thanks Marc. I'll watch for it.

I almost feel ashamed for asking; Any chance of supporting the quoted strings?

Thanks again,
Michael
Logged
Marc Rochkind
Hero Member
*****
Posts: 1136


View Profile WWW Email
« Reply #5 on: September 20, 2007, 10:41:37 PM »

Yes!!!! Absolutely!!!! Couldn't live without it!!!! But not in 2.3!!!!!

(Need to chase down the remaining bugs, document it, and send it into the world so I can spend full time on its little brother.)

--Marc
Logged

Michael Garner
Newbie
*
Posts: 29


View Profile Email
« Reply #6 on: September 21, 2007, 08:23:46 AM »


It seems as if my question might have offended. Sorry.

Thanks for all of your hard work.

Best regards,
Michael
Logged
Marc Rochkind
Hero Member
*****
Posts: 1136


View Profile WWW Email
« Reply #7 on: September 21, 2007, 08:26:52 AM »

Not at all Michael... you have been extremely helpful. My response was intended to be funny, but humor sometimes doesn't work on the web.

I'm tempted to say, "How can I make it up to you?", but I'm afraid that you know exactly how I can make it up to you, so I won't say that. ;-)

--Marc
Logged

Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!