|
From: Chris G <cl...@is...> - 2010-01-31 14:28:00
|
On Sun, Jan 31, 2010 at 01:24:28PM +0000, chombee wrote: > On Sun, Jan 31, 2010 at 10:09:54AM +0000, Chris G wrote: > > I know it's probably totally back to front for a blog but how easy > > would it be to get pyblosxom to display posts in increasing date > > order? Is the ordering set at just one place in the code? I'm quite > > happy to just patch my installed pyblosxom code as I realise this > > won't be a common requirement. > > > > For what it's worth I want to create a [not]blog where the story > > template will just display the date and title so one sees just a list > > of entries - in increasing date order. > > Could you write a plugin to do this? Using the cb_filelist callback > maybe: > > http://pyblosxom.sourceforge.net/1.5/dev_architecture.html#cb-filelist > You could well be right! It would certainly be more elegant to do it with a plugin rather than by patching the code directly. I probably need to write a plugin anyway as I need to do things at cb_story() time to enable me to click on my list and view individual posts. > (love the new sphinx documentation). > Yes, quite agree, it looks good doesn't it. -- Chris Green |