Monday, December 11, 2006

Expandable post summaries!

In an exciting development, based on instructions found here, we now have expandable post summaries, for those posts which are going to be fucking long. (Click the link below!)

It is, of course, optional to use this feature, and I'll explain a little bit about it so you can use it in the future. When you post at SGM, the text box will include this text:

[Type your summary here]
< span id="fullpost" >
[Type rest of the post here]
< /span >

Replace [Type your summary here] with the part of your post that you want to display above the expansion link. Replace [Type rest of the post here] with the remainder of the post, which will be hidden until the expansion link is clicked. Obviously this will not be necessary for short posts, but we can use this for anything longer than five or six paragraphs to keep older posts from being shoved down the page. You can see the difference on my "Wikipedia Rules" post, which I edited to include the expansion.

If you don't want to bother with all this, just remove all of the text and post as usual.

An important point: unless you're going to remove all of the text and not use the post expansion, DO NOT ALTER THE < span > TAGS. I will be happy to edit anyone's posts to fix any errors if they occur.

The only drawback so far is that posts that do not use the expansion tags will not show a useless "read more" link unless you access them via the "Older posts" link at the bottom of the page.

Also, we can change "Read more..." to "Chew the fat" for a more "old school" feel.

Nate, you should probably check that above link to see how this works, and there are a bunch of people that have already been hard at work getting old tricks to work on the new beta Blogger. You might find an explanation to fix the random background issue.

2 comments:

Nate said...

I like this a whole lot. And thanks for adding the extra liite touches to the labels.

Rev. Joshua said...

Thanks. I discovered the ability to add labels to multiple posts from the dashboard last night, so I spent about an hour labeling a large portion of the posts. Most of the 300 newest and 100 oldest posts have been labeled, leaving about 100 posts I haven't looked at yet. I thought about giving your Lost Week/Weekend posts their own label and there are a number random topic posts that I'm not sure about yet.