Hi all,
I just did something like this recently and think I can explain it briefly.
It's a bit of work and I get some errors I do not understand, but it works.
Here's how I did it:
1. Make a complete export of the Wiki in the admin backend.
2. Extract the XAR you have.
3. Edit package.xml : remove all lines NOT referring to the Blog space.
4. Delete all folders except the Blog one.
5. Decide the spacenaam you would like to give it: I chose Blogboek (let's
call it that for the rest of this explanation).
6. Change the foldername to Blogboek.
7. Change all references to Blog in Blogboek. I did that by running a script
on the commandline (using Linux) that replaces .Blog by .Blogboek.
8. You should now have the package.xml containing the subscription of the
files in the Blogboek folder. Note that this also contains all the
Blog-posts that were in the Blog space.
9. To get the categories displayed properly, change line 113 in
CategoriesPanel.xml:
#getCategoriesHierarchy('Blogboek' $tree)
10. When ready, put everything in a zip and rename it to XAR. MAke sure the
folder and file are in the root of the zip, not in a folder (chack by view
it).
11. Now you can import the XAR in the Xwiki admin backend.
The only error I encounteres was a list of files named Blog.xxx.xxx that
were not imported.
It seems somehow there is metadata that knows the files came from the Blog
space.
The other files (Blogboek.xxx.xxx) are imported correctly, so the result was
what I wanted:
a seperate space with the complete Blog functionality, seperate from the
Xwiki core.
Note that Blog is in development and there are irritating bugs in the
editor.
http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917
http://jira.xwiki.org/jira/browse/XABLOG-63
I really hope a syntax 2 version will be in a coming Xwiki release using the
new editor.
Thank you all for your help, hope this is usefull!
vmassol wrote:
Since this is such a frequently asked question it would be nice if
someone could:
1) document it on
xwiki.org, either:
- in the FAQ
- as a code snippet on
http://dev.xwiki.org
or even better:
2) create an application (XAR) that does this and upload it on
http://code.xwiki.org
Anyone up for this? :)
Thanks
-Vincent
On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote:
that's what I was thinking but I continue to
get an error when I
create a ClassSheet (it will not allow me to). I keep getting an
error every time. a 4.26 while parsing velocity error. Do you have
any information or installation errors I might have? Are certain
velocity or java files/programs necessary that are not in the
documentation?
Thanks in advance,
Tim
________________________________
From: users-bounces(a)xwiki.org on behalf of Esbach, Brandon
Sent: Tue 1/8/2008 12:50 PM
To: XWiki Users
Subject: Re: [xwiki-users] Blog/Clone
Hi Tim,
If you look through Nabble, this has been described a few times
before. It's fairly easy to do.
________________________________
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
Behalf Of Campbell, Timothy D
Sent: 08 January 2008 17:39
To: users(a)xwiki.org
Subject: [xwiki-users] Blog/Clone
Has anyone successfully created a second blog in a single wiki? If
so, please give me some guidence on how to do this task. Also, what
could be a source of a velocity parsing error while creating a class
sheet? Please respond to help progress my research.
Thanks in advance,
Tim
<winmail.dat>_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
View this message in context:
http://n2.nabble.com/Blog-Clone-tp507547p4105195.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.