A couple more hours of hacking, and the templates are all new, and more functional then ever.
I am making heavy use of Yahoo's UI library, which makes lots of things much simpler:
Layout using Yahoo Grids
I spent hours making the layout you see now, and the one with Grids works better and
was done in minutes. Avoid reinventing the wheel works for webpages, too.
Calendar using Yahoo Calendar
Isn't it neat? And it works, too. Since the linking is handled by javascript I may make it so it loads the posts for a month without reloading the page.
Styling using their reset.css stylesheet.
That stylesheet removes all styling from your page. That way, if there's something there, you put it.
I used that, added a slightly simplified stylesheet based on Firefox's default, Restructured Text's and Silvercity's, and all the customizing I needed to do to achieve a simple but functional layout were 30 lines of CSS, compared to the rather monstrous pyds.css my blog currently uses.
Modular thingies.
I turned all Technorati/HaloScan/FeedBurner/Talkr thingies into macros that take as configuration your personal data (for example, HaloScan ID) and if necessary a post.
If the styling was a little more done and a few bugs were ironed, I may even start uploading the site using bartleblog instead of PyDS soon :-)
After a few more hours hacking, it's got the following working:
CherryTemplate templates that do about the same as the Cheetah templates in PyDS
Generates the whole site and it looks just the same
Advogato import (my blog should go all the way back to 2000 when I switch!)
PyDS import
The main missing things are:
Do a decent templating system (right now they are embedded in the code)
Do a decent config system (right now, global variables)
Do uploading (or just trust lftp)
Do post/story creation
Port the RSS template
Flickr integration
Integration with all those neat little gadgets: feedburner flares, HaloScan comments
which are currently kinda grafted (only work for my account ;-)
Look into Yahoo UI toolkit for things like the calendar and menus.
Add the extra stuff to Restructured Text so it:
Fixes automatically links to posts/stories in the blog
Pretty-prints code using SilverCity
Lots of UI stuff
All in all, not really a huge amount of work, but I am taking it easy.
When KDE4 is out, a version with a full-fledget KHTML in it will be a whole lot nicer.