sample code for posts at blog.jessitron.com