On 11/11/2009 22:21, Mirko Sertic wrote: > Hi > > I want to export my ODT documents to a MediaWiki. Now, i saw the Wiki > Publisher, and it works pretty smooth. But one thing i am missing is the > image support. The only thing i can see in the generated WIKI pages are > [[image:]] elements, but shouldn't be there also a filename? I dont mind > to upload the images from my document by hand, but i really need to > specify a filename. This would make life a lot easier. Now, how do i > specify the filename? Or are images just poorly supported?
i've also recently used the wiki publisher to put some writer layout documentation into the OOo wiki. it seems that the wiki publisher cannot upload images; there is even an issue for this: 103722 in my case i actually got output like [[Image:filename]], but in my case, the images were actually linked (not embedded). that may make a difference. oh, and in some cases (empty paragraph?) images were dropped completely, not even empty [[Image:]]. > If there is no support, i would like to contribute source code > enhancements, if someone would give me a hint where to start :-) the actual conversion is implemented in XSLT: http://svn.services.openoffice.org/opengrok/xref/Current (trunk)/filter/source/xslt/export/wiki/odt2mediawiki.xsl the extension is built in module swext: http://svn.services.openoffice.org/opengrok/xref/Current (trunk)/swext/ the maintainer of the wiki publisher is currently very busy with all the framework bugs and such, so we would certainly welcome contributions in this area. it seems to me that the XSLT conversion should be hackable with no knowledge of other OOo code, you just need to know the ODF schema a bit. so, have fun with it :) > Thanks in advance > Mirko regards, michael -- "Patriotism is supporting your country all the time, and your government when it deserves it." -- Mark Twain --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
