Blog category list


Ironically, the only time I actaully blog is when I'm hacking at my blog.

I wanted a simple HTML category list for my Pyblosxom blog. I hacked something up quickly, without much regard to maintanability or portability.

        for d in dirs:
                rd = os.path.split(d)[-1]
                html += '   
  • %s
  • ' % (rd, rd) html += ' ' data['categoryList'] = html]]>