28 February 2006

An Explanation Of The Comments In The Sidebar

I've had a couple of questions asked about the Recent Comments In The Sidebar hack. Here's some explanations.
Trouble in Shangri La said...
Is there a way to make only a certain number of comments show?

Yes...and no. From the Blogger help section:
Disclaimer: These aren't strictly the most recent comments, but just the comments for the post on the current page. Also, they will show in order by post, rather than by comment date/time. But in general, comments left on front page posts will tend to be the most recent, so this should be close enough and it still provides an overview of commenting activity.

So, I was wrong when I said it would be just 10. It's actually as many comments as are on your front page. Oh, but that's not all...
The Asian Playboy said...
That's a pretty good hack.

I get a nice round 10, but is there a way to display the title of the post that was commented on? I don't think displaying the time tag is particularly useful for those readers/commenters who are participating in a blog post discussion.

Unfortunately, comments in Blogger are like mini-posts. In fact, on a very large blog, they will take a long time to show up. Because of this, you can't put in any other template tags in there, like the <$BlogArchiveName$> tag.

Difficulty★★★Used on this site?Yes

2 Comments:

Blogger Luis Damasco said...

I really enjoy your blog, a lot of very good information. It’s quick and simple.

6:18 PM, March 02, 2006  Edit Comment
Blogger Trouble said...

I'm loving your blog, John.

Okay, two more questions I have.

First, is there a way to get rid of the big blogger bar at the top of the page?

Second, can you show us how to do a javascript that can rotate a set number of quotations on my blog?

I'd like to put a box on top of my blogger content with rotating short poems. Is that possible or do-able? I copied a javascript that purported to be able to do that, but it did not work.

10:24 AM, March 03, 2006  Edit Comment

Post a Comment

<< Home