So, I was bored yesderday and decided to look into creating a calendar to sif on the side of my blog, linking to days where I have posted something. I wrote a static mockup with html and css, and it worked fine in Firefox (IE is another issue, but I can't be bothered dealing with IE right now).
So I moved onto generating the calendar html code automatically with PHP. I first wrote a fairly kludgy script to parse my site's XML feed, until I realised that this only contained my past 5 blog entries, which is pretty useless for a calendar. I then decided to use the Blogger API, using the Blogger Class by Beau Lebens. This worked great, until I realised that the Blogger API doesn't support titles or permalinks, and that the post dates it returned seemed to be all wrong.
So then I got kinda stuck. In the end, I decided to parse my own HTML archive pages that are generated by blogger, and that currently works. It's 100% dependent on the structure of the html, but since that's auto-generated by blogger there shouldn't be any nasty surprises.
If anyone wants to play with my code, feel free. It will have to be customised differently depending on various settings like your archive format, date display format and most importantly your archive page template. I have commented things reasonably well though, so give it a try. If you use any part of my code, please credit me with a link to www.gfxmonk.com.
Oh, and if anyone else knows a better way to get data about previous blogger posts, please leave a comment...