abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Ayers" <danny.ay...@gmail.com>
Subject Re: Misc comments
Date Sun, 06 Aug 2006 09:01:05 GMT
On 8/5/06, James M Snell <jasnell@gmail.com> wrote:

Thanks James,

> Yeah, I've heard of similar problems.  The reason for using the geronimo
> jars is more because of the fact that their license (asf) is readily
> compatible :-).  I'm not sure what the license restrictions are on the
> Sun provided mail.jar / activation.jar.

Probably horrid...

> What would be the exact behavior of feed.crop?  Remove the last n
> entries in the list or remove the oldest (by atom:updated) n entries in
> the list?

What I had in mind was e.g. crop(5) would remove all but the 5 most
recent entries (by atom:updated). I've no idea of what would be the
best idiom(s) for this kind of thing, but restricting the size somehow
was something I needed right away.

Cheers,
Danny.


-- 

http://dannyayers.com

Mime
View raw message