DokuWiki Text

Version 28.35 by Neha Gupta on 2018/06/11 18:58

cogFilter stream extension to parse a DokuWiki TEXT package
TypeJAR
CategoryFilter
Developed by

Thomas Mortagne, Shubham Jain, Neha Gupta

Active Installs3
Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

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

filterapp.png

dokuwikitext.png

  • 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. 

filterconfig.png

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
Tags:
    

Get Connected