On Mon, Mar 23, 2015 at 11:02 AM, Nicolas Delsaux <nicolas.dels...@gmx.fr> wrote: > > > Le 19/03/2015 16:10, vinc...@massol.net a écrit : >> >> Nice choice! :) > > Yeah, for now, as I'm only evaluating it, I'm rather happy. >> >> Yes, this is an old script written a long time ago (not by me, I just made >> it available on that page ;)), before XWiki Rendering (see >> http://rendering.xwiki.org) existed. I have no idea how well it works. > > My concern about this script is that its status regarding full wiki import > is ... undetermined. >> >> >> So to summarize, we’re lacking some nice migrators to migrate from all >> those wikis to XWiki. We only have scripts maintained by the community. >> >> Now we’ve put in place all the infrastructure for such a migrator. We call >> it the Filters Application (a bad name IMO but it does more than just >> migrate content from wiki to wikis, it accepts any input and any output). >> See http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Application >> >> Right now this Filters app supports only a few input/outputs: >> >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module#HExistingmodules >> >> Since there’s a confluence input module, it means you can give this Filter >> app a confluence zip as input and as output you can put an XWiki instance >> and it’ll import the content. > > > So, from what I understand, my "best" solution would be to write extensions > to the filter module supporting JSPWiki and Dokuwiki. I could/should rely > upon the Rendering framework which seems to understand both syntaxes with > ease. > > Am I right ? And if so, what would be, to your mind, the estimated duration > of such a development ?
This is the best long term solution yes and you benefit from all the work done for other importer for all the bulletproofing in instance output filter. You can look at the module in https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-filter/xwiki-platform-filter-streams/ for inspiration. For the estimated duration I don't really know since most of the time depend on the format you are going to read and find a suitable replacement in the existing generic events. I spend 90% of my time just trying to understand the format when I did the Confluence module and there is still possible improvements but I'm sure you can't have a format that horrible in dokuwiki and jspwiki. Dokuwiki should not be too hard unless there is a lot of new features to find equivalent to compared to the last time I used it. I don't know JSPWiki except by name so not much idea here. A note on the existing syntaxes parsers in the rendering for dokuwiki and jspwiki: there is a few tests but those are not the most tested modules so you might find some differences compared to the standard behavior in the last version of dokuwiki and jspwiki. > Thanks anyway for the answer. > > -- > Nicolas Delsaux > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users