Table of Contents

WebDAV for DokuWiki

The aim is to create a WebDAV interface that will present all DokuWiki contents as a virtual filesystem. A flexible interface mechanism should allow to plug filters between the save and load mechanisms. Filters could then convert between DokuWiki syntax and other formats (like OpenOffice) on the fly.

Example virtual directory structure:

Implementation

A first implementation based on SabreDAV was started some years ago at https://github.com/cosmocode/webdav but never completed.

For each “type” or “filter” a file is placed in lib/plugins/webdav/types. Eg. lib/plugins/webdav/types/media.php handles the access to the media files. The file contains two classes, one for handling directories (and listings) the other handles files.

webdav plugin is another SabreDAV implementation with support for pages, media, odt plugin, tag plugin.

Open Questions