Curtney Jacobs <[EMAIL PROTECTED]> wrote:
> The RichText example and WIAB application have an idrel (or idrelation)
> relation builder. Just for clarification, under what circumstances would you
> want to use an idrelation object as opposed to a regular relation (insrel)
> object?
> 
> 
> I would like to associate urls and images directly into my paragraphs (in
> any location) and I am thinking that an idrelation (or idrel) that the
> RichText and WIAB uses might be the first step to solving my problems.
> 

Yes, the 'idrel' of RichtText and WIAB is the esence of the solution. The
idea is that a relation does not merely point to a node, but to a certain
XML-tag inside a field of a node. So, the 'id' of the relation corresponds
to the 'id' of the tag.

That is excactly what the 'richtext' example is doing (where for example
'urls' are linked to certain words in the text, marking them with an
'anchor').

The trouble remains how to user-friendly apply those id's.

Btw, when connecting to 'rich' objects, you might need a relation with two
id fields (a 'source' and a 'destination' id).

Michiel


-- 
Michiel Meeuwissen
Mediacentrum 140 H'sum 
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
 [] ()

Reply via email to