On 2/12/06, Jörn Nettingsmeier <[EMAIL PROTECTED]> wrote:
> the website i'm building needs to have a personal page for each member
> of our institute, which is generated from an xml.
>
> in order to benefit from the access control of lenya, i want to use one
> file per user, but i also need the aggregated content of all these files
> (to create lists, menus, etc.)
>
> i was thinking about using the directory generator or the xpath
> directory generator as documented on
> http://solprovider.com/lenya/aggregatefiles, but i'm not sure whether
> this will play nice with the upcoming jcr storage.
>
> what is the cleanest and most backend-agnostic way to aggregate the
> content of all files of a certain doctype under a given document id?
>
> this looks like a standard task, i wonder how people are solving it.

I believe you are correct that the DirectoryGenerator and
XpathDirectory Generators will become useless for Content using JCR. 
Even if you used them on the repository (completely bypasssing the JCR
API and adding data integrity issues), the results would be less
usable than the current system.

You give a usecase for multiple indexes and a SitetreeGenerator.  If
they are implemented, the task you describe will be easier (less code,
better results) than with the XpathGenerator.

Thank you,
solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to