<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=800541809-15012007><FONT face=Arial color=#0000ff size=2>The
API doesnt explicitly do it - all siblings are equal.</FONT></SPAN></DIV>
<DIV><SPAN class=800541809-15012007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=800541809-15012007><FONT face=Arial color=#0000ff size=2>If you
want one of them to be more equal than the others you could use a property to
indicate which sibling is</FONT></SPAN></DIV>
<DIV><SPAN class=800541809-15012007><FONT face=Arial color=#0000ff size=2>the
"original".</FONT></SPAN></DIV>
<DIV><SPAN class=800541809-15012007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=800541809-15012007><FONT face=Arial color=#0000ff size=2>Either
use a property as a token, where the sibling having the token is
the "original" or use a shared property</FONT></SPAN></DIV>
<DIV><SPAN class=800541809-15012007><FONT face=Arial color=#0000ff
size=2>indicating the path of the "original"</FONT></SPAN></DIV>
<DIV><SPAN class=800541809-15012007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=800541809-15012007><FONT face=Arial color=#0000ff
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=800541809-15012007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=800541809-15012007><FONT face=Arial color=#0000ff
size=2>Carl</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-bounces@opencms.org@KB <B>On Behalf Of </B>"Jonathan Woods"
<jonathan.woods@scintillance.com><BR><B>Sent:</B> Monday, January 15,
2007 10:09 AM<BR><B>To:</B> 'The OpenCms mailing list'<BR><B>Subject:</B>
[opencms-dev] Differentiating between siblings<BR><BR></FONT></DIV>
<DIV><SPAN class=203200209-15012007><FONT face=Arial size=2>I have several
cases in which I need to create a resource and then a sibling of it elsewhere,
but need to treat the original resource as the 'main' one (because I need to
de-duplicate search results but use the resource with a canonical navigation
path). Does the API provide any way to do this? I can't find
one.</FONT></SPAN></DIV>
<DIV><SPAN class=203200209-15012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=203200209-15012007></SPAN><SPAN
class=203200209-15012007><FONT face=Arial size=2>I realise it's possible to
tell how many siblings a resource has, and even what they are (woo-hoo!), but
sibling resources seem to be treated entirely
symmetrically.</FONT></SPAN></DIV>
<DIV><SPAN class=203200209-15012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=203200209-15012007><FONT face=Arial
size=2>Jon</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>