Hi Henning,
On Jan 11, 2009, at 1:59 PM, Henning Sprang wrote:
Hi,
I'm wondering if it is possible to use something else than a database
to store wiki pages.
Not yet. We're working on a JCR implementation for the storage.
My reasoning is to enable the following things:
* Enable people to produce and edit contents even when they are
disconnected from the network
This can already be done using XEclipse:
http://code.xwiki.org/xwiki/bin/view/Extensions/XEclipseExtension
A new version is going to be released in 1-2 days.
* Enable people to edit and produce contents with
their favorite text
editor instead of being bound to the Browser-Interface
Again this works with XEclipse.
I think this could be achieved with two ways:
* have the page contents stored in a version control system like git
or subversion instead of the database
* have a git (or subversion) protocol frontend to let users access and
write page data
Is something like that possible with xWiki, or even already available?
If not, what would it take to enable it?
It's not done but is possible. We have an interface for the storage so
provided you implement that interface you can swap the storage. The
implementation to use is configurable in the xwiki.cfg file.
We even have different possibles storages for documents, attachments,
etc.
#-# Role hints that differentiate implementations of the various
storage components. To add a new implementation for one
#-# of the storages, implement the appropriate interface and declare
it in a components.xml file (using a role-hint other
#-# than 'default') and put its hint here.
#
#-# The main (documents) storage.
# xwiki.store.main.hint=default
#-# The attachment storage.
# xwiki.store.attachment.hint=default
#-# The document versioning storage.
# xwiki.store.versioning.hint=default
#-# The attachment versioning storage. Use 'void' to disable
attachment versioning.
# xwiki.store.attachment.versioning.hint=default
#-# The document recycle bin storage.
# xwiki.store.recyclebin.hint=default
#-# The attachment recycle bin storage.
# xwiki.store.attachment.recyclebin.hint=default
I read something about Office (Openoffice/Word?)
Integration - but
that would not cut it, because I think of people who do not like large
software packages, but favour small text editors. But maybe my ideas
could be implemented in a similar way as the Office connectors.
We also implement webdav so you can edit the file using any text
editor using a webdav client.
See
http://dev.xwiki.org/xwiki/bin/view/Drafts/WebDAV
Thanks
-Vincent
http://xwiki.com
http://xwiki.org
http://massol.net