Great job, Vladis!

I did not actually install it yet, but from the description, you seem to
have hit the nail on the head with this one. I also had a quick look to see
how you handled blog post summaries and I see you have created a new class
to model the summary and assigned a string property to specify the language
of the summary, which would be the right way to do it, given XWiki`s model.

At this point, I would encourage you to directly contribute your work as a
pull request on the xwiki-platform project, for the blog component. It
might need a bit of brushing here and there, have not looked into the
actual modifications, but I`m sure you`d rather want it to be integrated
into the default Blog application instead of keeping it as an extension.

One thing I can say at this point is that most certainly your migration
script that is currently done (probably) as a wiki page where you do the
migration manually would most likely need to be rewritten as a database
migration[1] script so that XWiki can apply it automatically for people
upgrading from previous versions.

Looking forward to your pull request!
(make sure to create a jira.xwiki.org issue for it first though, I did not
manage to find one already existing on this topic)

Thanks,
Eduard

----------
[1]
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/migration/hibernate

On Wed, Sep 10, 2014 at 11:36 PM, Valdis Vītoliņš <[email protected]>
wrote:

> > Big +1 for "reusing document title and content fields for blog and
> > blog post titles and content". Is there any migration/import script
> > from the old blog structure?
>
> Yes, it is provided in Blog.MigratePosts page
> Valdis
>
> >
> > Thanks,
> > Marius
> >
> > On Sep 10, 2014 11:34 AM, "Valdis Vītoliņš" <[email protected]>
> > wrote:
> > >
> > > Check it out:
> > > http://extensions.xwiki.org/xwiki/bin/view/Extension/Multilingual
> > +Blog
> > > +Application
> > >
> ...
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to