This application is bundled with:
  • XWiki Enteprise
  • XWiki Enterprise Manager
Application developed by the XWiki Development Team.
This application cannot currently be downloaded separately.

Blog Application

Transforms the wiki into a bliki with the ability to add Blog posts and display them

How to use

The following code lets you display the blog element on any page (by default it is present on the http://<server>/xwiki/bin/view/Blog/ page of your XWiki). You can choose the category as well as the number of news item to display:

<h2 class="heading-1-1"> Blog 
<a href="$xwiki.getURL("Main.BlogRss", "view", "xpage=rdf")" style="">
<img src="$xwiki.getSkinFile("icons/black-rss-mini.png")"></a></h2>

#set($nbstart = $request.nbstart)

#set($category = "") -> sets the category to be displayed

#set($nbitems = "10") -> sets the number of news items you want to be displayed

#includeMacros("Blog.Macros")

It is also possible to customize the blog application for specific purposes, you will need some Velocity knowledge to do this, please check the Developer's Guide for more information.

You can add / change blog categories on the http://<server>/xwiki/bin/view/Blog/Categories page.

A panel is also available that lists all blog categories. You can find it on the http://<server>/xwiki/bin/view/Panels/BlogCategories page of your XWiki.

Examples

The blog application is used for example on the Dashboard page of xwiki.org.

The Blog Panel

BlogPanel.png

A Blog Article

BlogArticle.png

A Blog Main Page

XWikiBlog.png

Version 15.3 last modified by Sergiu on 12/12/2007 at 13:38

Comments 1

ptguillot | 13.11.2007 at 04:35 PM
I'd like to create the page called 'New Blog Post' in a specific page which permit to had a post in a blog page. I'm not an expert in Velocity but I can't find the code to initiate de "Create Button" ? where should this button target ?? Bonjour, je voudrais ajouter le code de la partie 'New Blog Post' dans une page. malheureusement je ne trouve pas quelle synthaxe je dois implementer pour le bouton create : je recupere bien la valeur du input mais ensuite ??? d'avance merci. Encore bravo pour le boulot réalisé sur xwiki !

Attachments 3

Image
XWikiBlog.png 1.3
PostedBy: GuillaumeLerouge on 06/12/2007 (34kb )
Image
BlogPanel.png 1.3
PostedBy: GuillaumeLerouge on 06/12/2007 (3kb )
Image
BlogArticle.png 1.3
PostedBy: GuillaumeLerouge on 06/12/2007 (22kb )

Creator: GuillaumeLerouge on 2007/04/04 02:09
This wiki is licensed under a Creative Commons license
1.4.1.10194