Therefore I assume that xwiki will convert the rest on
the fly
creating the troubles in the Post display.
From my point of view there is not other way than converting all the
pages to 2.0 (but I could be wrong) but that leads to problems with
SQL syntax as described in another post.
Thanks - Andy
On Jun 30, 2009, at 12:30 AM, Vincent Massol wrote:
Hi Andreas,
On Jun 30, 2009, at 4:43 AM, Andreas Schaefer wrote:
Using the XWiki blog quite often I am sometimes
frustrated by the
fact that still in 2.0 M1 the syntax based on 1.0.
Beside the fact that nobody found time and/or urge to attack that is
there any other reason why this cannot be done ?
No reason other than time and
priority (we're fixing bugs in
priority). But yes I'd also like that we convert the full default XAR
to 2.0 syntax (right now all pages are in 1.0 syntax).
In case it is possible and someone could tell me
where to start
looking into it I would try to accomplish that.
Actually all you need would be to
translate the blog template page to
2.0 syntax so that all new blog are created in 2.0 syntax
automatically.
You can go to
http://localhost:8080/xwiki/bin/edit/Blog/
BlogPostTemplate and convert it to 2.0 syntax use the right panel.
Then when you create blog posts they'll be in 2.0 syntax.
Note that converting only BlogPostTemplate means that the include
macro used in that page will use the automatic converter to convert
1.0 BlogPostSheet page to 2.0 syntax and the converter can only do its
best so there'll probably be small issues. To make it perfect you'll
thus also need to convert BlogPostSheet and any possible page it
depends on.
If you want to share you work with others, you'll need to convert all
pages in the Blog space, export the pages as XAR, create a jira issue
and attach the converted XAR to it.
For now I cannot promise anything because my time
is very limited
and free time is quite unpredictable.
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org