DokuWiki Text
Filter stream extension to parse a DokuWiki TEXT package |
Type | JAR |
Category | Filter |
Developed by | |
Active Installs | 3 |
Rating | |
License | GNU Lesser General Public License 2.1 |
Table of contents
Description
Filter stream extension to parse a DokuWiki data package compressed and archived as a "tar.gz". DokuWiki stores pages in text format.
Supported input
Data as TGZ
DokuWiki supports file-based storage where all the data associated to the wiki is stored in the "dokuWiki" folder of the DokuWiki installation (typically in /var/www). This folder can be used for backing up or exporting the wiki. The wiki spaces and documents are stored in the dokuwiki/data/pages/ directory as text files, see https://www.dokuwiki.org/faq:backup. DokuWiki also recommends packaging the data folder as TGZ to preserve file metadata such as file timestamps, see https://www.dokuwiki.org/faq:servermove.
Data as Directory
You can also use the path to "dokuwiki" folder as a source input directly (file-based storage is recommended).
Import a DokuWiki data to XWiki instance
- Install DokuWiki Text
- After you have installed the two extensions, click on the Filter Stream Converter entry from the Applications panel
- Choose the "XWiki instance output stream (xwiki+instance)" output type
- Choose the "DokuWiki Text input stream (dokuwiki+text)" input type
- Enter the path of the DokuWiki's directory as any apache compress supported format like tgz or zip, folder, in case of file, enter the path followed by 'file:', as shown below.
- If this is your first time, leave everything else to default values.
After you have completed these steps, click the "Convert" button. After that, you will see the conversion progress.
Prerequisites & Installation Instructions
We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).
You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.
Dependencies
Dependencies for this extension (org.xwiki.contrib.dokuwiki:dokuwiki-text 1.1):
- de.ailis.pherialize:pherialize 1.2.1
- org.apache.commons:commons-compress 1.12
- commons-codec:commons-codec 1.10
- commons-configuration:commons-configuration 1.10
- org.xwiki.platform:xwiki-platform-filter-event-model 8.4
- org.xwiki.platform:xwiki-platform-filter-event-user 8.4
- org.xwiki.platform:xwiki-platform-model 8.4
- org.xwiki.contrib.dokuwiki:dokuwiki-syntax 1.1
- org.xwiki.rendering:xwiki-rendering-syntax-xwiki21 8.4
- xerces:xercesImpl 2.11.0