[opencms-dev] How to determine if a CmsResource is a sibling?

Thomas Kiesl thomas at wranglers.com.au
Mon Jun 30 04:24:28 CEST 2008


Hi Carl,

thanks for your answer.

We built an eCommerce Shop with OpenCMS, the Products are represented  
in structured content files. Every night we have to update some  
products by a cronjob. Because on product has many siblings I want to  
update them only one time.

Cheers Tom

On 27/06/2008, at 5:41 PM, Carl Alex Friis Nielsen wrote:

> Since all siblings are "equal" that wouldn't make any sense - you  
> can't really say that one is an "original" and the other is a  
> "copy". If you have multiple references in the VFS to the same  
> resource they are ALL siblings.
>
> There is a way (in the API) to find out if a resource HAS siblings,  
> which will then also tell you that it IS a sibling, but since they  
> woul all be equally "real" what would you do with that knowlege ?
>
> Cheers,
>
> Carl
>
> ________________________________
>
> Fra: opencms-dev-bounces at opencms.org på vegne af Thomas Kiesl
> Sendt: fr 27-06-2008 07:23
> Til: The OpenCms mailing list
> Emne: [opencms-dev] How to determine if a CmsResource is a sibling?
>
>
> Hi everyone,
>
> is there a way to determine if a CmsResource is a sibling?
>
> I want to update structured content resources by a cronjob and do  
> the update only for the real files.
>
> Thanks for your help
>
> Thomas Kiesl
>
>
>
> digital Wranglers
> 70 Mary Street | Surry Hills 2010
> E thomas at wranglers.com.au <mailto:piers at wranglers.com.au>  | T +61 2  
> 9770 9997 | F +61 2 9770 9996 | M 0447 730 944 | W wranglers.com.au
>
> <winmail.dat>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please  
> visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev

Thomas Kiesl

digital Wranglers
70 Mary Street | Surry Hills 2010
E thomas at wranglers.com.au | T +61 2 9770 9997 | F +61 2 9770 9996 | M  
0447 730 944 | W wranglers.com.au

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080630/4c86e028/attachment.htm>


More information about the opencms-dev mailing list