somewhat daily mutterings

/Programming/Projects/Gemcast gemcast Now has a Max Entries Setting

My pages were getting a bit long because gemcast had no way to configure the maximum log entries to render for a given category. So, I quickly hacked this feature in. I used a range against the returned set of log entries to select off only the first 'n' entries. This is a quick and dirty, inefficient hack because gemcast currently reads in every entry, even those that won't be rendered. At the moment I have to do it this way, because I'm sorting all the entry objects after they're collected, rather than pre-sorting the list of entry files and processing only the top 'n'. I'll get around to fixing it sometime.

Posted: Wed Mar 05 21:42:34 -0800 2003

Thanks for visiting! Send comments to Mike Thomas.

Site 
Meter