[xwiki-users] Automatic converter to xwiki syntax 2.0
Hi everyone, Nowadays, to convert a document to xwiki 2.0, we have to select on the drop down list when we're editing a page, slecte xwiki 2.0. So to convert a page to xwiki2.0 syntax, the user (administrator or other) have to do this manipulation himself. I was thinking when I read in Jira "Continue work on automatic converter from XWiki Syntax 1.0 to XWiki Syntax 2.0" that the user won't have to do the manipulation by himself anymore. But when I read more about this post, I understood it's not really the purpose, it's a improvement of the existing. Is a "true" automatic converter to xwiki2.0 scheduled ? If yes, for which version of xwiki entreprise ? :-) I mean by that to convert a page automatically in xwiki2.0 if it's in xwiki1.0 (the user has not to do it by himself). The thing is I've implemented the basic xwiki xar in order to have my own xwiki. So in my newxwiki.xar, I have a core of pages using xwiki1.0 syntax and I have my new pages using xwiki2.0 syntax. To blend the syntax of all my pages in xwiki2.0 when I update my version of xwiki (1.8) will i need to : * Solution 1 o Download a basic xwiki xar file using syntax 2.0. o Recreate all my pages. * Solution 2 o Import my xar file directly in the new xwiki version (the conversion should happen automatically). I want to unify the syntax I'm using in my xwiki in order to simplify the life of my users/admistrators (because when you edit a page using xwiki1.0, you haven't the same WYSIWYG editor as the one you have when you edit a page using xwiki2.0 for example). -- View this message in context: http://n2.nabble.com/Automatic-converter-to-xwiki-syntax-2.0-tp2662524p26625... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, On Mon, Apr 20, 2009 at 10:54, Hesediel <[email protected]> wrote:
Hi everyone,
Nowadays, to convert a document to xwiki 2.0, we have to select on the drop down list when we're editing a page, slecte xwiki 2.0. So to convert a page to xwiki2.0 syntax, the user (administrator or other) have to do this manipulation himself.
I was thinking when I read in Jira "Continue work on automatic converter from XWiki Syntax 1.0 to XWiki Syntax 2.0" that the user won't have to do the manipulation by himself anymore. But when I read more about this post, I understood it's not really the purpose, it's a improvement of the existing.
Is a "true" automatic converter to xwiki2.0 scheduled ? If yes, for which version of xwiki entreprise ? :-)
I mean by that to convert a page automatically in xwiki2.0 if it's in xwiki1.0 (the user has not to do it by himself).
The thing is I've implemented the basic xwiki xar in order to have my own xwiki. So in my newxwiki.xar, I have a core of pages using xwiki1.0 syntax and I have my new pages using xwiki2.0 syntax. To blend the syntax of all my pages in xwiki2.0 when I update my version of xwiki (1.8) will i need to :
* Solution 1 o Download a basic xwiki xar file using syntax 2.0. o Recreate all my pages.
* Solution 2 o Import my xar file directly in the new xwiki version (the conversion should happen automatically).
I want to unify the syntax I'm using in my xwiki in order to simplify the life of my users/admistrators (because when you edit a page using xwiki1.0, you haven't the same WYSIWYG editor as the one you have when you edit a page using xwiki2.0 for example).
"Automatic" was more about the fact that 1.0 content is converted on the fly (without saving the source after the conversion) when included (using {{include}} macro) in a 2.0 document to be integrated in the new architecture. For 1.9 we plan to do http://jira.xwiki.org/jira/browse/XWIKI-3080 For now we don't want to systematically convert 1.0 content to 2.0 content by default since theses are very different syntaxes (it's not just about the simple wiki syntax but also the fact that the way to insert velocity/html in 2.0 is very different) and an automatic converter will never be perfect for pages mixing lots of velocity and html like applications so we prefer that user make the choice to convert a page or a whole wiki and check that all is ok after that. The converter is an help during the transition between 1.0 and 2.0, we try to make it as good as possible but we don't have time to do a converter smart enough to be sure it convert a wiki without breaking anything whatever the use case. Now we could have an option to automatically convert the way you see it if no velocity/html is found in the content (the only document wich have the WYSIWYG by default in 1.0). Could you create an issue on http://jira.xwiki.org if it seems a good idea to you ?
-- View this message in context: http://n2.nabble.com/Automatic-converter-to-xwiki-syntax-2.0-tp2662524p26625... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hi Thomas, Thanks for your quick answer.
Now we could have an option to automatically convert the way you see it if no velocity/html is found in the content (the only document wich have the WYSIWYG by default in 1.0). Could you create an issue on http://jira.xwiki.org if it seems a good idea to you ?
I don't really understand what you meant by that. But what you've planned to do on xwiki 1.9 sounds really great ! I didn't see that issue. So with that, an administrator of xwiki1.8.1 which has some pages in xwiki 1.0 and others pages in xwiki 2.0 ( it's my case :-) ) will be able to unify it in xwiki 2.0 by just filling a form ? I'll really look forward to see it. -- View this message in context: http://n2.nabble.com/Automatic-converter-to-xwiki-syntax-2.0-tp2662524p26627... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Mon, Apr 20, 2009 at 12:05, Hesediel <[email protected]> wrote:
Hi Thomas,
Thanks for your quick answer.
Now we could have an option to automatically convert the way you see it if no velocity/html is found in the content (the only document wich have the WYSIWYG by default in 1.0). Could you create an issue on http://jira.xwiki.org if it seems a good idea to you ?
I tough you wanted each 1.0 page to be converted automatically without any action from anyone when starting XWiki (like we do for the database) or automatically convert imported pages on the fly pages. So I was suggestion to be able to enable something like that but only for pure wiki content (no html and no velocity).
I don't really understand what you meant by that. But what you've planned to do on xwiki 1.9 sounds really great ! I didn't see that issue.
So with that, an administrator of xwiki1.8.1 which has some pages in xwiki 1.0 and others pages in xwiki 2.0 ( it's my case :-) ) will be able to unify it in xwiki 2.0 by just filling a form ? I'll really look forward to see it.
Yes that's the goal (with also some UI to list pages of different syntaxes etc.).
-- View this message in context: http://n2.nabble.com/Automatic-converter-to-xwiki-syntax-2.0-tp2662524p26627... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
[quote] I tough you wanted each 1.0 page to be converted automatically without any action from anyone when starting XWiki (like we do for the database) or automatically convert imported pages on the fly pages. So I was suggestion to be able to enable something like that but only for pure wiki content (no html and no velocity). [/quote] Yes I was thinking of it. But if it's just an Administrator action, it's ok :-). Knowing that is planned for 1.9 in order to convert xwiki syntax 1.0 to xwiki syntax 2.0, I don't think it's necessarly to create an issue in Jira for the idea you had (If the two things (your idea and the issue planned for 1.9) are implemented, it'll be a source of confusion for the user). It's my point of view ;-). -- View this message in context: http://n2.nabble.com/Automatic-converter-to-xwiki-syntax-2.0-tp2662524p26628... Sent from the XWiki- Users mailing list archive at Nabble.com.
Just one thing, if all the applications in the basic xar file worked with xwiki2.0, is it possible to have a xar containing only pages in xwiki2.0 or not ? Maybe it's the case with the xar available for xwiki1.8.1 but it's written nowhere. -- View this message in context: http://n2.nabble.com/Automatic-converter-to-xwiki-syntax-2.0-tp2662524p26628... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
Hesediel -
Thomas Mortagne