Re: filelist, sortlist and truncatelist in PyBlosxom 2.0

Ryan Barrett <pyblosxom-6sb6M7qyT/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
On Sun, 10 Feb 2008, will wrote:

> I made some changes in the trunk to fix some problems I was having with
> static rendering the web-site. I added two new callbacks (one was actually
> added a while back, but I reimplemented it): sortlist and truncatelist.

cool! i really like these. they're simple, powerful, complement the existing 
callbacks, and fill clear niches.

they made me immediately start thinking of similar useful callbacks. for 
example, supplementlist, wihch would let you add to the entry list. (we can 
probably come up with a better name.)

having said that, these all seem like special cases of a general-purpose 
updatelist callback, which would let plugins modify an entry list however they 
want. any reason not to unify them like that?

-Ryan

--
http://snarfed.org/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.