DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:odt2dw

ODT2DW Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" yes
  • 2014-09-29 "Hrun" yes

plugin Create a DokuWiki page by importing an odt file

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

Tagged with create, import, odt

By garlik

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)

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. 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?

plugin/odt2dw.txt · Last modified: 2017-01-05 15:16 by 87.191.153.204