Index collision bug and sidebar (Kukkaisvoima Version 5)

Found index collision bug today as I moved my Kukkaisvoima entries around. The index consists of unique timestamps of blog entries so that it can be sorted. First part is the filename timestamp and second part is timestamp of the file. As I copied entries from one directory to another I managed to lose the file timestamp, so I got couple of collisions and Kukkaisvoima failed to display some of the entries. Luckily that was easy to fix. The fix is in version 5.

Version 5 introduces also sidebar with categories and monthly archives. Couple of new div elements has been added so that sidebar could be easily positioned. I first thought that sidebar should be optional, but since its quite easy to hide it with css, it's visible in default installation. Sidebar needs also new language variable: l_archives = 'Archives'

When upgrading Kukkaisvoima you can remove main.index-file from your index directory (default is temp) so that Kukkaisvoima can generate new index. It is needed sometimes, for example when upgrading from version 4 to 5.

Categories: Kukkaisvoima
Date: 2007-02-24, 5 years and 86 days ago

Comments

  1. Kristian:
    2007-02-26, 5 years and 84 days ago

    You're quick! Haven't looked at it yet, but I will tonight. I have a few ideas to make styling easier, might have another patch for you :)

    Oh, and I see you have added English headings for the fields. Shame, I had fun figuring out the Finnish :D

  2. Petteri:
    2007-02-26, 5 years and 84 days ago

    I had a boring weekend, too cold outside and no money, so I had to code :D

    I figured out that finnish is too hard for most people so had to add those english explanations. Maybe it will help somebody to give an opinion about Kukkaisvoima :)

    Patches are still more than wellcome. I'm thinking about doing an example style sheet to give out with Kukkaisvoima. Something really simple. Just to get people started customising.

  3. Kristian:
    2007-02-26, 5 years and 84 days ago

    Quick fix: Since I use diff to see what I need to change to update (I can't just copy, then I'd need to reenter my settings each time) I've externalized my settings:

    http://quovadis.dk/kukkaisvoima.patch
    http://quovadis.dk/kukkaisvoima_settings.py.txt

    (Remove .txt extension, of course - and don't put anything sensitive inside ;)

  4. Petteri:
    2007-02-27, 5 years and 83 days ago

    Ah, Nice patch. I Can't really see why I haven't thought about that my self sooner.

Leave reply

No html allowed in reply

Notify me of follow-up comments via email.