Table of Contents
ODT2DW Plugin
Compatible with DokuWiki
Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to file2dw, odtplus2dw
Firstly, I apologize for english mistake. The french page should be more understandable.
Installation
This plugin use the php xsltProcessor class. Be sure php-xml library or php5-xsl library is installed before using the plugin.
Anyway, an error message occur if something goes wrong.
External requirements: This plugin requires the following additional components that must be installed separately:
- php xsltProcessor (ex : php-xml, php5-xsl)
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
How to
This plugin display a form in 4 cases :
- use action odt2dw (
?do=odt2dw
) anywhere - if allowed use action show (
?do=show
) on a new page (allowed by default) - if allowed use action edit (
?do=edit
) on a new page (allowed by default) - use any allowed action on a new page
Have a look to the configuration section for more information
You must choose an odt file and submit.
Then, the file is parsed, the result is stored (replacing the existing page) and the wiki displays the result with the set action.
Configuration and Settings
Configuring it by using the config plugin.
You can set some parameter like the debug level, which action will display the upload form, …
Development
This version is a beta, some format won't be translate in DokuWiki like wrong made headline.
Please, report your issues with sample as possible.
Odtfiles are zipfiles contain a file name content.xml. If you know xml, xsl and xslt, you can improve the parser.
Change Log
Look at github: README
Known Bugs and Issues
Look at github: issues
FAQ
Nothing yet
Hello,
I'm using your uploader with *.odt files from Word 2013 the files contain images important for the page. But its usally only showing the first image the others are displayed as “{{ObjectReplacements/Object 1}}” so I'm wondering if someone could help with this problem because im not sure why this happens.
Discussion
Great!
Thanks. Especially for correct images import . - Max 2014/03/04 14:14
Works nice even on new version 2016-06-26 "Elenor of Tsort"
I use this plugin for several years and works very well without any major problems, even through upgrades of the wiki. - brozkeff 2016/09/08 13:56
Critical Error
I wonder if i do something wrong but alltime i try to upload a odt file made with libreoffice i get the error Kritischer Fehler: ZipArchive-Objekt konnte nicht initialisiert werden is this because i am do something wrong or a bug by the plugin?
- Solution: You need to have Zip module in PHP. On Debian with PHP7.0 install it with sudo apt install php7.0-zip or if you have different version of PHP change the package name appropriately. Restart webserver afterwards. –Martin Malec