roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: Blog Entries by month and author
Date Sat, 19 Apr 2008 14:53:26 GMT
On Fri, Apr 18, 2008 at 12:43 PM, Islam Tariqul <iamtariq007@yahoo.com> wrote:
>  Is there any way we can have all blog entries by month(s)?

No, Roller does not provide that.

> Also, is there any way we can have blog
>  entries by author(s) (screen name)?

Take a look at the Site model in the Template guide, it has a method
that will return a pager over entries from one weblog and/or one user.

    Pager getWeblogEntriesPager(Weblog weblog, User user, String
category, int sinceDays, int max)
    Get pager that returns WeblogEntry objects from one specific
weblog and category. Will only return
   entries created in last sinceDays number of days and never more
than max items.

- Dave

Mime
View raw message