[Yanel-dev] data-repo-sitetree resource-type

simon litwan simon.litwan at wyona.com
Tue Feb 10 09:19:00 CET 2009


hi all

i had a look at the data-repo-sitetree resource-type.
i fixed some of the TODOs. see following patch:
http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=6978

but after spending some time with this resource-type, i don't understand 
for what is it good for.
there are several functions: 
-providing a tree widget (showing the merged repo trees of data- and 
res-config-repo) (but just allows you to browse, no tree modification 
implemented)
-a xml view (of the merged repo trees of data- and res-config-repo)
-a google-sitemap view (this view at least is not useful, since it 
announces every node to google. even usecases e.g. create-new-page.html )
-a json view. (of the merged repo trees of data- and res-config-repo)

i think one of the problem is, it's only possible to get one sitetree 
implementation via api (NodeResConfigAndDataRepoImpl).
but i think even in one realm it would be nice to use different sitetrees:
- navigation
- sitemap
- google-sitemap
- data-repo
- res-config-repo
which all are/can be independent of each other.

could it make sense to introduce something like a sitetreeManager 
(configurable per realm) which would give you all the (configured) 
sitetrees?

my goal is to implement a sitetree editor which allows to move, copy 
etc. nodes between different trees.

WDOT?

simon









More information about the Yanel-development mailing list