This might be a more appropriate task for perl, php or asp.net. I'm not quite sure what 'blogger template' you are using, but if the blog posts are stored in a database, you could set up a simple query to grab the last n posts and display them where you like.