Sunday, February 13, 2005

Expandable Posts

Following the clear and simple instructions at No Fancy Name, I've added 'expandable post' functionality to my blog. What's especially good about this hack (compared to others I've seen) is that the 'continue reading' link only appears if there really is more to read.

So now when I write a hideously long and boring post, I can make it so that only the first couple paragraphs (or whatever) clutter my main page, with the rest of it hidden away on the individual post page.

Then again, some people might prefer being able to read the whole thing from the main page without having to bother clicking through at all. Hmmm. Well, I'll do a quick poll: Who prefers long posts to be represented on the main page by a brief excerpt only, and who prefers the whole thing to appear?

Update: I've gone ahead and excerpted my longer posts, so now I can fit twice as many entries on the main page. For those who prefer to read several full posts together on one big page, just use the monthly archives (e.g. here) instead.


  1. I prefer the short "header" post with the longer post clicked to. That way you can have a couple of weeks worth of posts on the front.

  2. Yeah, I was thinking that would be one advantage. And people have to click through to view the comments anyway, so it's no great inconvenience...

  3. I quite like this specific hack because the default is just to include the full post as usual - no special code or tags required. And if I want some of the post to be hidden from the main page, I just include a single pair of 'span' tags around the appropriate text. So it's easy enough on my end, at least.

    What are "blink" tags?

  4. I don't usually bother reading your longer posts. I like hearing quick reviews of new things you've come across, or snippets of your opinion. You have a good mind, and can be very clear about what you mean, and defend it. However, I don't really get a lot of interest from broad-scale introduction/overviews. I appreciate the links to the source of your idea when you are talking about an article or an idea, but for me as a reader, it is better to cut to the chase rather than try to cover all the angles.

  5. I like long posts and I like to see them whole on the front page. Less clicks - the better. Not every time I see "continue reading under the fold" I actually do so...

  6. Hi - Glad the "read more" thing worked out for you!

    Blink tags were a terrible bit of HTML from back in the olden days (1996-ish) which caused whatever text they contained to blink on and off. Very annoying, and "web designers" who used it were ridiculed mightily.


Visitors: check my comments policy first.
Non-Blogger users: If the comment form isn't working for you, email me your comment and I can post it on your behalf. (If your comment is too long, first try breaking it into two parts.)

Note: only a member of this blog may post a comment.