Hi Vincent, all, These are really good hints to develop some structured code. However I've never wrote a xwiki macro. I do not know what slang I should use (velocity, xwiki, ...). I am pleasing you kindly to show some direction ... and I will try to follow it. (I've done some really small changes for the task manager application macros, that's all for now).
Thanks mb -----Original Message----- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol Sent: Monday, September 21, 2009 10:27 AM To: XWiki Users Subject: Re: [xwiki-users] xwiki blog - How to use (outdated) On Sep 21, 2009, at 9:40 AM, Vincent Massol wrote: > What would be nice would be to create macros that could be used in > pages: > - to display all blog entries for a given blog name > - to display blog entries for a given category > - to display blog entries for a given date range > > That could be one macro with different parameters: > > {{blog name="..." maxEntries=".." category="..." startDate="..." > endDate="..."/}} It could even be implemented as a wiki macro packaged inside the Blog application. -Vincent > > Thanks > -Vincent > > On Mon, Sep 21, 2009 at 9:34 AM, Michael Beetz <michael.be...@infor.com > > wrote: >> Vincent, >> >> Yes, it could be me ... once I figure it out. However I was >> playing a couple of hours a few weeks ago, yesterday too, but I am >> lost in the code ... >> I'll continue end of the week. >> >> Thanks >> mb >> >> -----Original Message----- >> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On >> Behalf Of Vincent Massol >> Sent: Sunday, September 20, 2009 6:40 PM >> To: XWiki Users >> Subject: Re: [xwiki-users] xwiki blog - How to use (outdated) >> >> >> On Sep 20, 2009, at 6:30 PM, Michael Beetz wrote: >> >>> Hi all, >>> >>> The "How to use" is outdated - where could I find a few more recent >>> lines of code to display a blog category within my own page? >>> >>> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication >> >> Yes someone needs to volunteer to update the page... could that be >> you >> once you figure it out? :) >> >> To figure it out, simply look at the content of your Blog.WebHome >> page >> or a blog category page >> (http://localhost:8080/xwiki/bin/edit/Blog/CategorySheet >> ). >> >> Thanks >> -Vincent _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users