Re: [xwiki-users] Description of XAR format
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 file format. Where can i find this? 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. Another if you are using java is to create a XWikiDocument java object and call toXML on it to export the document. Thanks for help Thomas ___ 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
Re: [xwiki-users] Description of XAR format
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 into xwiki. What i am missing is a description of the xml file format. Where can i find this? 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. Another if you are using java is to create a XWikiDocument java object and call toXML on it to export the document. 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. Thanks -Vincent ___ 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
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
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 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. 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. See http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing and more specifically: http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HChoosingaSyntax Thanks -Vincent ___ 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
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 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 You don't have to do this manually You could use XMLRPC or REST to upload your page content. 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? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
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
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 solution for this. To be honest, I don't know, would need to check. 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. ok cool. It would be great if you could create jira issues on http://jira.xwiki.org if you find issues in our handling of JSPWiki. Complex links will not work I guess for example. Once you have your pages in jspwiki syntax you might want to convert them to XWiki Syntax 2.0 in order to benefit from the wysiwyg editor for example (that editor currently only works with XWiki Syntax 2.0). Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Description of XAR format
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 wiki syntax conversion. Basically: it should work but don't blame me if it doesn't. :-) Hope you can use it. kind regards, On Thu, 2010-03-25 at 01:52 -0800, 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 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. Deze e-Mail en de inhoud daarvan is vertrouwelijk. Indien dit bericht niet voor u bestemd is, verzoeken wij u vriendelijk deze e-mail direct aan ons te retourneren en daarna te verwijderen. Openbaarmaking, vermenigvuldiging, verstrekking en/of gebruik door derden van dit e-mail bericht en/of informatie is niet toegestaan. De verzender sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. Deze e-mail is gecontroleerd op virussen. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Description of XAR format
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 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 wiki syntax conversion. Basically: it should work but don't blame me if it doesn't. :-) Hope you can use it. kind regards, On Thu, 2010-03-25 at 01:52 -0800, 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 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. Deze e-Mail en de inhoud daarvan is vertrouwelijk. Indien dit bericht niet voor u bestemd is, verzoeken wij u vriendelijk deze e-mail direct aan ons te retourneren en daarna te verwijderen. Openbaarmaking, vermenigvuldiging, verstrekking en/of gebruik door derden van dit e-mail bericht en/of informatie is niet toegestaan. De verzender sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. Deze e-mail is gecontroleerd op virussen. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Deze e-Mail en de inhoud daarvan is vertrouwelijk. Indien dit bericht niet voor u bestemd is, verzoeken wij u vriendelijk deze e-mail direct aan ons te retourneren en daarna te verwijderen. Openbaarmaking, vermenigvuldiging, verstrekking en/of gebruik door derden van dit e-mail bericht en/of informatie is niet toegestaan. De verzender sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. Deze e-mail is gecontroleerd op virussen. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Description of XAR format
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 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. Note that if you are using XWikiDocument you can easily convert your content to xwiki/2.0 syntax before doing the export using XWikiDocument#convertSyntax(xwiki/2.0, new XWikiContext()) (to be tested for the context part but it should be ok like that) -- 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 -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [ANN] XWiki Enterprise 2.3 Milestone 1 Released
The XWiki development team is pleased to announce the release of XWiki Enterprise 2.3 Milestone 1. Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download This is first milestone of the XWiki Enterprise 2.3 version. Main changes from 2.2.3: * New annotation feature * New color theme editor * Anonymous commenting with captcha * Lots of bugs fixes For more information see the Release notes at: http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise23M1 Thanks -The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Unable to restore page from orphaned list even though the parent is successfully set on update
Hello, Recently we have ran into a problem where it's impossible to restore page from orphaned pages list by any means. Page is listed in the root of the space where it has been created if looking at document tree. The are several weird thing about it: 1) If editing the page, proper parent value appears in the parent input box 2) the children of this page are able to properly render the link hierarchy at the top of the page I have checked the logs, they are clear from errors (at least from those that might be related to this issue). Any thoughts what might cause the page to get into such state? Any way to fix this without having to re-create the page? Thanks, Roman -- View this message in context: http://n2.nabble.com/Unable-to-restore-page-from-orphaned-list-even-though-the-parent-is-successfully-set-on-update-tp4798786p4798786.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] Unable to restore page from orphaned list even though the parent is successfully set on update
On 03/25/2010 05:48 PM, coldserenity wrote: Hello, Recently we have ran into a problem where it's impossible to restore page from orphaned pages list by any means. Page is listed in the root of the space where it has been created if looking at document tree. The are several weird thing about it: 1) If editing the page, proper parent value appears in the parent input box 2) the children of this page are able to properly render the link hierarchy at the top of the page I have checked the logs, they are clear from errors (at least from those that might be related to this issue). Any thoughts what might cause the page to get into such state? Any way to fix this without having to re-create the page? Do you (or did you, at some point) have enabled translations (Multi lingual) in the wiki? -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Unable to restore page from orphaned list even though the parent is successfully set on update
As far as I know we did no translations. It could have happened only by accident but currently multi-lingual support is set to No and it was so when the page have been added. -- View this message in context: http://n2.nabble.com/Unable-to-restore-page-from-orphaned-list-even-though-the-parent-is-successfully-set-on-update-tp4798786p4799594.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