monthchunks for blogger

unfortunately this took me a long time to get around to. i got the following request in response to my monthchunks for wordpress post:

So is there any way that someone still on Blogger (waves hand in the air with earnest and pleading look on face) could wangle the original javascript to turn the ‘standard archive link into something a little more compact’? I assume this would be code that goes into my custom template in place of the month-by-month links I’ve got there now? Short of a real calendar, the less vertical space used up by my archive links list, the happier a camper I am. Many thanks, I hope! —Leeeny

i developed the monthchunks archive format originally in javascript to modify the display of the links to my blogger archive pages. but since i moved my blog over to wordpress and replaced the javascript with a plugin written in php, i thought the javascript was gone.

of course it completely skipped my mind that my neatlinks sidebar blog is blogger driven, and the monthchunks-style archive links at the bottom of the column are indeed generated by javascript on the client. here’s how to do it.

if you have the ability to upload files to your web host, grab the the monthchunks javascript above and upload it to your web directory (i put my javascript files in a folder called “scripts”), then add the following line of code before the </head> tag at the top of your current blogger template

Comments: 10

Perfecto! You’ve made me so happy. Only thing to note, for anyone who has their Blogger blog hosted on Blogger’s server rather than one of your own, is that you have to have some other location to upload the monthchunks-1.0.js file to, such as ISP user webspace, or any other server you can upload to. Then just put an absolute reference (http://etc) to the location of the file, in place of justin’s relative reference in step 2 above. Thanks again, justin.

You’re the BEST! I’m a big fan of MONTHCHUNK! (Got one working with WordPress) but I also have another blog at blogger.com (I was a blogger user but couldn’t resist the awesomeness of WP, so I switched.)