BTW, I think that's an interesting feature that we could have out of the box. If you wish you could create a jira issue for this in the XWiki Enterprise jira project on jira.xwiki.org.

Thanks
-Vincent

On Jul 6, 2007, at 12:01 PM, Vincent Massol wrote:


On Jul 6, 2007, at 11:22 AM, Karin Wiklund wrote:

Hi,
This might be a stupid question but I hope someone will be patient enough to answer it;
How do I make a new blog? I don't want another entry, I want another blog. My company wants to give each developement project their own blog on the company xwiki.
 
I've scanned the mailinglist archíves and the xwiki.org site for help, but haven't found anything useful.
 
I would greatly appreciate your help on this

A blog is made of the following:
- An Article class and associated classsheets/templates
- XWiki documents to which an Article object is added to
- A Main XWiki Document listing blog entries (Blog.WebHome)

Right now the classsheet and Blog.WebHome pages use the Blog.Macros document to display blog entries. That macro looks for all documents in the xwiki which have an Article object attached.

If you want several blogs you'll need to add a variable to tell the Blog.Macros macro to only look in a portion of the wiki. For example you could decide to pass a Space so that only blog entries in that space are displayed.

Try editing the Blog.WebHome page and the Blog.Macros macro and you'll understand.

Warning: you'll need some understanding of XWiki objects/classes/templates. See the dev guide for more on this.

Thanks
-Vincent