Re: A simple question about ordering of posts
Chris G <[email protected]> Sun, 31 Jan 2010 14:27:41 +0000
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <20100131142741.GE3466@chris> |
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 ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com