In Roller 1.2, use the parameter name "count" in the query params; this gets transmitted as "entryCount" into the Velocity context when the rss.vm template is executed/expanded by the engine. Looks like there's a hard max of 50, and a minor screw-up in with the inconsistency in naming.

Matt: see org.roller.presentation.velocity.ContextLoader.java#loadRssValues() 
and callers.

--a.


----- Original Message ----- From: "Matt Raible" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, September 04, 2005 3:36 PM
Subject: Limiting the number of entries returned in a feed


Is it possible to limit the number of entries returned in an RSS Feed
with Roller?  For example, can I do something like
http://raibledesigns.com/rss/rd?maxEntries=5 and get the last 5
entries?

Thanks,

Matt


Reply via email to