Re: [xwiki-users] Description of XAR format
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 possible to set the page syntax in the xml file. This is what i >> am >> doing currently and it seems to work quite good. > > So you're setting the jspwiki/1.0 syntax in there? > Yepp, exactly. -- View this message in context: http://n2.nabble.com/Description-of-XAR-format-tp4793927p4796635.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Description of XAR format
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 don't know how good it is. > > But it would be good if someone knowing JSPWiki could tell us how good or > bad our native support of it is! > > When you have a page in JSPWiki syntax in xwiki then you can convert it to > XWiki Syntax 2.0 easily. > We have more than 700 pages (not counting History and File Attachments). I am not going to do this manually But it is possible to set the page syntax in the xml file. This is what i am doing currently and it seems to work quite good. -- View this message in context: http://n2.nabble.com/Description-of-XAR-format-tp4793927p4796600.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Description of XAR format
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 it compiled. Therefore i thought it would be easier to just start fresh. -- View this message in context: http://n2.nabble.com/Description-of-XAR-format-tp4793927p4796530.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Description of XAR format
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: > > Another if you are using java is to create a XWikiDocument java object > and call toXML on it to export the document. > Good Tipp! I will look into it. -- View this message in context: http://n2.nabble.com/Description-of-XAR-format-tp4793927p4796527.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users