I find your email a bit confusing - it seems like your asking, "What is the
stKeywords structure exactly?"

It is a structure of keywords where the value of each keyword represents the
UUID of the category it came from. If a keyword has been assigned from
multiple categories, the value will be a list. There is also a special key,
lCategories, which is a lsit of all the categories.

Ok, for the sake of discussion, let's pretend category IDs are strings.
Imagine an object Foo. It has the keyword StarWars assigned to it from the
category Movies. So, stKeywords would look like this:

stKeywords
        Starwars =      Movies
        LCategories = Movies

Now, lets add one more keyword, StarTrek, also from movies.

stKeywords
        Starwars =      Movies
        StarTrek =  Movies
        lCategories = Movies

Now lets add Football, from AmericanSports

stKeywords
        Starwars =      Movies
        StarTrek =  Movies
        Football = AmericanSports
        lCategories = Movies, AmericanSports

Now lets add Football, from EuroSports, since Football is already a keyword,
we just append to the list of cats associated with it.

stKeywords
        Starwars =      Movies
        StarTrek =  Movies
        Football = AmericanSports, EuroSpots
        lCategories = Movies, AmericanSports, EuroSports

Therefore, you CAN tell where a keyword was assigned from.

Does that help?

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: Lum, Karling [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 17, 2001 3:45 AM
> To: Spectra-Talk
> Subject: metadata retrieval problems
>
>
> Hello all,
> How can you tell which children belong to which parent?
> If you do a cfa_contentobjectget it returns (amongst other things)a
> structure called stKeywords.  However, this returns you a list of
> metadata,
> it does not tell you which keywords belong to which parent and you cannot
> access the second part of the struct (there is no documentation I've found
> which details how it is setup).
> e.g. Below is stKeywords from a contentobjectget I ran:
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to