Dear Jean Vincent,
Thanks for the details.
As soon as I have a first small application running I'll post on the list.
Best regards
Joerg
___________________________________________________
Jörg Gellien
Otto Group
Systementwickler · Software Qualitätsmanagement und Synergy Administration · IL-BI-ZA
Otto (GmbH & Co KG) · Wandsbeker Straße 3-7 · 22172 Hamburg
Telefon +49 (0) 40 64 61 5691 · Fax +49 (0) 40 64 64 5691
joerg.gellien(a)ottogroup.com ·
___________________________________________________
AG Hamburg, HRA 62024, Persönlich haftend: Verwaltungsgesellschaft
Otto mbH, Hamburg, AG Hamburg, HRB 13762
vertreten durch: Hans-Otto Schrader (Vorsitzender) · Dr. Rainer Hillebrand
(Stellvertretender Vorsitzender) · Alexander Birken ·
Dr. Willi Darr · Diethard Gagelmann · Peter Gelsdorf · Dr. Wolfgang Linder · Jürgen
Schulte-Laggenbeck · Dr. Winfried Zimmermann
Aufsichtsrat: Prof. Dr. h.c. Werner Otto (Ehrenvorsitzender) · Dr. Michael Otto
(Vorsitzender)
-----Ursprüngliche Nachricht-----
Von: jvdrean(a)gmail.com [mailto:jvdrean@gmail.com] Im Auftrag
von Jean-Vincent Drean
Gesendet: Samstag, 15. März 2008 19:55
An: XWiki Users; Gellien, Joerg
Betreff: Re: [xwiki-users] Display external directory tree under xwiki
On Wed, Mar 12, 2008 at 10:36 AM, Gellien, Joerg
<Joerg.Gellien(a)ottogroup.com> wrote:
Hi folks,
Just another thought on the topic: displaying external directory
structures with metadata under XWiki. The major goal I have to
achieve is to provide readonly access to a directory structure with
associated documents for download.
I have read in the xwiki docs on optimization that it is
possible to
disable versioning of documents for performance
gain.
- Is it possible to disable versioning for specific spaces?
This option disable the whole versioning service at the higher level.
The only thing you can do at a finer grain is reseting a
document archive (deleting all the revisions except the last
one). It's not available in the public velocity API but
(thanks to xwiki's hidden APIs ;) ) any user with the
programming rights can do this in a wiki page :
------------------8<----------------------------------------------
$doc.document.resetArchive($context.context)
------------------8<----------------------------------------------
This would allow me to generate hirachical pages
with the
appropreate
metadata (one page -> one directory, one space
-> one project to
display) without creating to much junk inside of xwiki (only latest
information on structure is valid).
I think you could use the scheduler application [1] with a
groovy job to sync you wiki with you repo, at night for
example. This groovy job could loop over you synergy projects
set all the desired datas in wiki pages and reset archives of
all those documents.
[1] :
http://code.xwiki.org/xwiki/bin/view/Applications/SchedulerApplication
bundled with XE since 1.2, see the Scheduler space.