DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:odt2dw

This is an old revision of the document!


ODT2DW Plugin

Compatible with DokuWiki

Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus

plugin Create a DokuWiki page by importing an odt file

Last updated on
2016-02-04
Provides
Action
Repository
Source

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

Tagged with create, import, odt

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
plugin/odt2dw.1527629785.txt.gz · Last modified: 2018-05-29 23:36 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki