abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Adkins" <formofm...@gmail.com>
Subject Re: Misc comments
Date Mon, 07 Aug 2006 02:49:38 GMT
On 8/6/06, Danny Ayers <danny.ayers@gmail.com> wrote:
> On 8/5/06, James M Snell <jasnell@gmail.com> wrote:
> T
> > 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.
> Wouldn't that be better called cropTo(x) or clipTo(x)?

Upon first grok, for me, the (5) would seem to refer to what to crop rather
than what to leave alone..

Charles Adkins

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message