On Wed, Jan 24, 2007 at 08:33:19AM +0100, g.verhaag@lrcb.nl wrote:
I'm trying to set up a local xwiki site for our institute. Download an installation finished. Local XWiki works fine!
I'm new to the scripting languages Groovy and Velocity.
I'd like some help in generating a list of all BLog entries in lets say a category with name X! Can anybody help? It'd be fairly ease, but don't know how to tackle this problem at the moment.
Check out the code in Main/Dashboard. You can do things like: <h2 class="heading-1-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 = "News") #set($nbitems = "10") #includeMacros("Blog.Macros") Which gives the last 10 entries in the category "News"