Thursday, January 12, 2006
I was puzzled, why the consistent interest in that old useless archive? Was it some sort of historical inquiry into how it all began? Do people want to know what my writing was like before the fame and fortune took its toll?
But more importantly, I wanted them to try some of my other writing, more recent stuff I've done after the fame and fortune took its toll. Maybe they would find something they'd like, something that justified coming back for another look.
Finally I figured out why it was happening: because on blogspot, the blogger template tags spit out your archives in oldest-first order so that your oldest writing is the first link people see. Oddly enough, my oldest writing is the last link I want people clicking on.
If you try this, remember to copy your original template aside first, in case you need a safe version to fall back on. You might have to tweak what I've done a little to fit the way your template lists your archives, but it shouldn't be too hard.
var myLinks = new Array();
var myReversedLinks = myLinks.reverse();
for (arch in myReversedLinks)
Hopefully now I'll see people happily cruising my latest work, and that old, first post will remained buried, where it belongs, at least until my obligatory first anniversay post. And hopefully I haven't scared away my audience with this geekly outburst.
Technorati Tags: blogger, blogspot, template, tips, archive, order, geek