From g.verhaag@lrcb.nl Wed Jan 24 07:33:19 2007 From: g.verhaag@lrcb.nl To: xwiki-users@xwiki.org Subject: BLog listing! Date: Wed, 24 Jan 2007 08:33:19 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3865743613216573731==" --===============3865743613216573731== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I'm trying to set up a local xwiki site for our institute. Download an instal= lation 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 cat= egory with name X! Can anybody help? It'd be fairly ease, but don't know how = to tackle this problem at the moment. Thanks in advance! Regards, Gerard --===============3865743613216573731==-- From xwiki@otoh.org Wed Jan 24 09:18:32 2007 From: Paul Armstrong To: xwiki-users@xwiki.org Subject: Re: [xwiki-users] BLog listing! Date: Wed, 24 Jan 2007 01:18:32 -0800 Message-ID: <20070124091832.GK45304@suricate.otoh.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1017636214831757334==" --===============1017636214831757334== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wed, Jan 24, 2007 at 08:33:19AM +0100, g.verhaag(a)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:

Blog

#set($nbstart = $request.nbstart) #set($category = "News") #set($nbitems = "10") #includeMacros("Blog.Macros") Which gives the last 10 entries in the category "News" --===============1017636214831757334==--