|
From: Wari W. <wa...@ce...> - 2003-01-27 06:44:20
|
* will <wi...@bl...> [030127 13:49]: > > This is a limitation that should be addressed by a template (it's > > the template problem domain). But the only thing is that blosxom > > templates are not that powerful to do such things. > Mmmm... Perhaps we should have template entries in the ini file that > dictate properties for those templates? Too many places to do things, I was thinking of something like feature.flavour files that override certain pyblosxom variables. A feature.index (for example in my indexes) could contain things like: num_entries all foo bar etc etc blog_title My Little Foo Blog :) Let me think about this, and see how useful can this be. > In regards to ignoring things globally, I would think that there are a > series of directories (and files) that would want to be ignored by > everything--regardless of the template. So then maybe we shoudl add > something like this to the ini file: > ignore = CVS *.tmp > and then tools.Walk would naturally never return those kinds of files. You know, the more I see tools.Walk, the more I agree to myself that we shouldn't use it. A better way is to have an entry object of some sort, pass it some parameters when we instantiate it, and it fills itself up with entry dicts and have methods like getBody or something so that plugins can use it, the entry object should also probably know about it's 'neighbours' like the comments for example. I don't know how that can happen though. Right now, plugins can't do anything with the contents. This means changing pyblosxom's architecture, and related plugins. I need to think about how to get this done. > ps. I didn't notice I was doing a reply-all on all of the previous > emails until just now. My apologies to those who just got duplicates > and triplicates of some of them. I have a remove duplicate script in my procmail, so it's okay by me, but how would you know if someone is or is not in the mailing lists (ok, this list for now is just you me and Theodore :) -- Regards: Wari Wahab Senior R&D Engineer Celestix Networks http://www.celestix.com/ vim: syntax=mail tw=72 |