Sunday, May 18, 2008

Expandable Blog Posts in Blogger

Update - Blogger had released functionality that does this. See You Might As Well Jump! from Blogger Buzz.

Following an email exchange with Ranting Nerd, I decided to add expandable posts to this blog that allow a summary lead-in on the main page (instead of the whole post) and a link to the the rest of the post on a separate page. See the "Seinfeld" and "How Starbucks Saved My Life by Michael Gates Gill" summaries and full-post links below to view this functionality.

For anyone using Blogger, I'd recommend the Expandable Post template customization from http://bloggermagz.blogspot.com/ to setup this feature. This is the best approach I've come across and provides flexibility for adjusting the summary for only those posts you want to manipulate. The only caveat is that the tweak uses JavaScript, and will display a link to the full post for every home page item in browsers in which JavaScript is disabled. I'm thinking of adjusting the JavaScript to render the output differently when JavaScript is disabled.

No comments:

Post a Comment