roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Müller-Prove <matthias.mueller-pr...@oracle.com>
Subject More than 100 recent entries?
Date Wed, 01 Sep 2010 07:04:25 GMT
Hi,
I wonder if it is possible to display more than 100 recent entries. The following code just
reveals 100 max.

#set($numEntries = 500)
#set($entriesList = $model.weblog.getRecentWeblogEntries(nil, $numEntries))
#if($entriesList.size() > 0)
  <ol>
  #foreach ($entry in $entriesList)
    <li><a href="$entry.permalink">$entry.title</a>&nbsp;<sub>$utils.formatDate($entry.pubTime,
"MMM yyyy")</sub></li>
  #end
  </ol>
#else
  <p class="null">No Entries</p>
#end

thanks
  Matthias
  http://blogs.sun.com/mprove/
Mime
View raw message