Re: [xwiki-users] Description of XAR format

2010-03-25 Thread Thomas Mortagne
On Wed, Mar 24, 2010 at 21:54, Thomas Stinner thomas.stin...@schuechen.de wrote: Hello, i am trying to convert our existing Wiki to Xwiki. To reach this goal, i am trying to export the existing data into an xar file hat i can import into xwiki. What i am missing is a description of the xml

Re: [xwiki-users] Description of XAR format

2010-03-25 Thread Vincent Massol
On Mar 25, 2010, at 9:44 AM, Thomas Mortagne wrote: On Wed, Mar 24, 2010 at 21:54, Thomas Stinner thomas.stin...@schuechen.de wrote: Hello, i am trying to convert our existing Wiki to Xwiki. To reach this goal, i am trying to export the existing data into an xar file hat i can import

Re: [xwiki-users] Description of XAR format

2010-03-25 Thread stinnux
tmortagne wrote: There is no formal description AFAIK, the best is to export a page in XWiki and too look at the result to see what it's looks like. I already tried that and it is working for basic pages. Problem is the changelog and different versions of the same page. tmortagne wrote:

Re: [xwiki-users] Description of XAR format

2010-03-25 Thread stinnux
vmassol wrote: Could you tell us more about the wiki you wish to convert since there are some conversion scripts that exist already on http://code.xwiki.org and in the sandbox. I am trying to convert from jspwiki. I know that there exist a plugin for that already, but i do not even get

Re: [xwiki-users] Description of XAR format

2010-03-25 Thread Vincent Massol
Hi, On Mar 25, 2010, at 10:24 AM, stinnux wrote: vmassol wrote: Could you tell us more about the wiki you wish to convert since there are some conversion scripts that exist already on http://code.xwiki.org and in the sandbox. I am trying to convert from jspwiki. I know that

Re: [xwiki-users] Description of XAR format

2010-03-25 Thread stinnux
vmassol wrote: Another direction is to directly paste your JSPWiki content inside a xwiki page for which you have set the syntax to JSPWiki :) (we support JSPWiki syntax). However I have not tried the JSPWiki syntax support for a very long time and we don't even have tests for it so I

Re: [xwiki-users] Description of XAR format

2010-03-25 Thread Vincent Massol
On Mar 25, 2010, at 10:41 AM, stinnux wrote: vmassol wrote: Another direction is to directly paste your JSPWiki content inside a xwiki page for which you have set the syntax to JSPWiki :) (we support JSPWiki syntax). However I have not tried the JSPWiki syntax support for a very

Re: [xwiki-users] Description of XAR format

2010-03-25 Thread stinnux
vmassol wrote: You don't have to do this manually You could use XMLRPC or REST to upload your page content. Can i set the version of the page with one of these methods? Or upload multiple versions of the page? I haven't found a solution for this. vmassol wrote: But it is

Re: [xwiki-users] Description of XAR format

2010-03-25 Thread Vincent Massol
On Mar 25, 2010, at 10:52 AM, stinnux wrote: vmassol wrote: You don't have to do this manually You could use XMLRPC or REST to upload your page content. Can i set the version of the page with one of these methods? Or upload multiple versions of the page? I haven't found a

Re: [xwiki-users] Description of XAR format

2010-03-25 Thread Jeroen Baten
Hello, I Hereby send you a first version of a Python script to convert twiki to xwiki. It is small, fast, and (more or less) documented. I am still working on it and will publish final version when I am done. This script is now dry-run so you need to uncomment the storepage lines. It also does

Re: [xwiki-users] Description of XAR format

2010-03-25 Thread Jeroen Baten
Sorry. Attachment filtered so I posted it on pastebin: http://pastebin.com/DxU6RYJw I hope it helps someone. On Thu, 2010-03-25 at 11:13 +0100, Jeroen Baten wrote: Hello, I Hereby send you a first version of a Python script to convert twiki to xwiki. It is small, fast, and (more or

Re: [xwiki-users] Description of XAR format

2010-03-25 Thread Thomas Mortagne
On Thu, Mar 25, 2010 at 10:41, stinnux thomas.stin...@schuechen.de wrote: vmassol wrote: Another direction is to directly paste your JSPWiki content inside a xwiki page for which you have set the syntax to JSPWiki :) (we support JSPWiki syntax). However I have not tried the JSPWiki syntax