Sunday, October 14, 2007

Blog modifications

I decided I wanted the ability to 'cut' longer posts, like you see on some blogs. Have a lead-paragraph, and then let the reader click on something to read on...

There are instructions on how to do this in the Blogger Help manual, but their version isn't togglable. It's always on. Which explains the sudden appearance of a linked asterisk at the bottom of every post, if you're on the front page, or in a monthly archive. (Otherwise, you won't see it.)

I didn't want it to say "Read More" if there wasn't any more to read. If it's a short post, or an old post, the * will just provide a secondary link to the page with the entry+comments.

I am curious how confusing this post was, though. How long did it take you to figure out there was more to read, and where to click?

If anyone can come up with a better suggestion than an *, that's easy to change.

Update Thanks to Chris who in the comments directed me towards a better hack which makes the query above unnecessary.

1 comment:

Chris said...

I've tested the hack found here, and it works well. You can add the "Read more" code to whichever posts you like. The Fade In/Fade Out hack is pretty cool, too.

I made a sample page here.