I want to propose new mechanisms for Support of Import/Export Wiki Pages from/to OpenOffice Documents
I propose the use of the JOD Converter ( http://www.artofsolving.com/opensource/jodconverter) to handle different OpenOffice documents formats (.doc, .odt, etc.). The motivation of my project of the yet proposal Create/Edit Api issue, which made me decide to inject more functionality than only create wiki pages, that's why I propose basically three new embedded mechanisms in MediaWiki.
- New Api issues: import_document, export_document - New ToolBox: ImportDocument. the Upload toolbox could be modified in this point, nevertheless the main goal of upload is to save a file into the filesystem of the server creating a namespace for this, like: [[Image:<image>]] or [[MediaW:<file>]], so I prefear to create a new toolbox to create a new wiki page, not upload the file. - Embedded New tab: ExportDocument. Every time a wiki page is printed on the screen, there could be an option to select if we want to export the document to some supported format of document.
JOD Converter is built in Java, it can be treated like a tool(executable jar) or a web service. The formats supported are .doc, .odt, .ppt, .ods, .xls, .odp, .ppt, .pdf, ... and others more. There is a direct conversion from text formats to wiki code, it doesn't happen the same for spreadsheets or powerpoint formats, in these last formats my idea is to get an html output format from the conversion and due to duplicated < html > tags, I will replace this last tags with another for example <jodHTML>, so it can be stored.
I propose these mechanisms because it would be very helpful for external applications to import/export documents from MediaWiki, this is the reason of the new api issues, and I thought about the toolbox and the export document tab because the MediaWiki User may find it very useful.
I hope any feedback from you, I have played with mediawiki modifying some extensions before.
Thank you all.