Blogger Series: Widgets and Hacks – ReadMore, Recent Comments, Recent Posts

by SBA on January 2, 2010 · 18 comments

Many of our visitors use Google's Blogger platform, so in this series I'll focus on Blogspot Widgets and Hacks. A sidebar widget such as "recent posts" can be created through Blogger's "add gadget" feature. A hack is tutorial code that the owner must carefully introduce into her template to make a feature such as the tabbed widget work. This post gives some tips on popular features you can add to your Blogspot blog with little effort: post summaries (ReadMore), recent comments, and recent posts.

The Blogger team has been furiously adding features that work seamlessly with your blog. Blogger is giving authors a decent alternative to heavy template editing. Having several third parties involved in your code carries risks, not the least of which is the complexity of finding the right spot for the hack or the heartache of having JavaScripts stop working. And what about those annoying credit links below each widget? Hopefully, soon a thing of the past.

ReadMore

If your blog publishes several long articles on the home page, don't make the readers scroll forever. With the readmore feature you can specify a summary for the homepage articles, followed by a "continue reading" link to the full post. Many refer to this as a "magazine style" design. Readers can scan down, read your tantalizing summaries and decide which post to read.

There are plenty of template hacks for this style, but most of them are too complicated for the non-techie to install. I recommend Blogger's Integrated ReadMore feature. Blogger refers to it as "After the Jump summaries."

How to Install Blogger's ReadMore:

  1. For each post that appears on the home page, you need to decide where the summary text ends and insert the "jump" marker. Use Blogspot's new Editor toolbar to make this task even easier.Edit the post in Compose mode, place the cursor at the end of the summary and click the "jump to" icon – looks like a torn page.

    The separator appears across the page of your draft post, reminding you where the summary ends. This is where the "read more" link will appear after publishing.

    If you don't use the new Editor you can put the correct code in the HTML view of your draft post. It's just an html comment tag, a place holder for Blogger to separate the summary:
    <!--- more -->

  2. Just publish the post and you're done. Unless – the "read more" is not there. Then your template is heavily modified and you have to dig in even further! This can happen with customized third-party templates. Google's help article for creating these '"jump" summaries tells you what to do (read the bottom of the article). Drop a comment if you need further clues.

TIP 1: Use Blogger's post template feature to remind you about the jump indicator. Blogger automatically seeds each new post with the text your specify. Go to Blogger Settings, Formatting and scroll to the "Post Template" section. For the ReadMore you might specify:
Summary Here
Place readmore here (icon or html tag)
Remainder Here

In fact, you can have any preformatted text here, e.g. your signature or reminders to subscribe. Links and image references must be in html.

Recent Comments

Many visitors are interested in community dialog. The recent comments widget gives you another way to direct readers to popular discussions. Until a few months ago the only way to add such widgets was via an HTML/JavaScript gadget. BloggerBuster provided the most reliable script. However, Amanda created a widget that is now featured (integrated) in Blogger's bag of gadgets. Installing the Blogger gadget is as easy as pie.

The older one has more functionality, but you can't argue with reliability --- Blogger's new gadget is the clear winner. Today I could not get the original BloggerBuster script to work. That situation is caused by third party hosting being unavailable. Sometimes scripts stop working in certain browsers. So I'll give you both methods and you can see the tradeofff and decide for yourself.

This picture shows the differences: (the JavaScript is on the left)

The new one eliminates the offsite credit link, but does not show the post title and did not interpret special characters like apostrophes (&#39; on first comment).

How to Install JavaScript Recent Comments Widget:

  1. Go to Layout on the dashboard. Click "Add Gadget" and select the Html/Javascript gadget.
  2. Copy and paste this code, but be sure to change the blog url to your own!
    <span style="align:left;">
    <script style="text/javascript" src="http://kunoichi.info/blogger_buster/comments.js"></script><script style="text/javascript">var a_rc=5;var m_rc=false;var n_rc=true;var o_rc=60;</script><script src="http://bpwebnews.blogspot.com/feeds/comments/default?alt=json-in-script&callback=showrecentcomments"></script></span>
  3. Save and move to the sidebar. Hope it works every day. This is the one I use, and it has been pretty reliable.

How to Install Blogger's Recent Comments Widget:

  1. Go to Layout on the dashboard. Click "Add Gadget." Instead of Basic gadgets, click "Most Popular" in the left sidebar.
  2. You'll see this image:
    Click and follow the steps that let you define the height (e.g. 200px), number of comments to display (e.g. 10) and comments summary length (e.g. 150 characters).
  3. Save and move to the sidebar.

Recent Posts

The directory of integrated Blogger widgets just keeps growing. Take a look and keep your Blogger gadgets current. Recent Posts are yet another way to attract new visitors to go more deeply into your blog. They will surely find great content.

For displaying recent posts, I use the BloggerWidgets version, shown on the left of this image. The other is from BloggerBuster.

BloggerWidgets (left) and BloggerBuster

Obviously, the BloggerWidgets version shows the post thumbnails.You can also display the posts from any blogger blog by supplying the url. Other options include

How to Install Advanced Recent Posts Widget:

  1. Go to Layout on the dashboard. Click "Add Gadget." Search for "recent posts."
  2. You'll see this image:

    Click and follow the steps that let you define the options you want.
    By Blogger Widgets
  3. Save and move to the sidebar.

How to Install Standard Recent Posts Widget:

  1. Go to Layout on the dashboard. Click "Add Gadget." Search for "recent posts."
  2. You'll see this image:

    Click and follow the steps that let you define the options you want.
    By Blogger Buster
  3. Save and move to the sidebar.

TIP 2: If you use the ReadMore feature, then it makes sense to list your Recent Posts in the sidebar for single pages only. To do that, you need to use a template hack that sets a conditional display of the Recent Posts widget.
Go to this post for a simple tutorial on hiding Blogger widgets. You can use the technique for any widget.

Conclusion of Blogger Series Part 1

Blogger has indeed come a long way in modernizing its publishing interface. It all started in August as part of their 10th Anniversary Celebration. Join us for future segments in this series. Be sure to sign up for our RSS feed.

Of course, leave a comment about your experience with these blogger widgets and let me know what you'd like to see next.

4 Reasons For Subscribing
  • Get Full Posts Delivered Directly To Your Inbox.
  • Get Exclusive Freebies For Subscribers.
  • No "Buy This, Buy That" Mails!
  • 100% Privacy. Your EMail Address Will Never Be Shared With Any Third Party.
About Writer [Blogging With Success]About Author SBA is a web designer and co-founder of BloggingWithSuccess. She publishes BPWebNews a place for many Blogspot tips and tricks. You can also find her on Twitter. Read SBA's other posts. She's also published a couple of guest posts.

{ 18 comments }

geoge July 28, 2011
raqeeb khan June 24, 2011

well , thanks for the tricks . As i’m new to blogging, hope this will help me through the way of blogging .And looking forward to have some more good tricks for blogger.

yahaya October 12, 2010

tq for sharing

hduble April 17, 2010

can you consensus2012 (dot com) its a free customizable polling widget that delivers real time results

SBA April 18, 2010

This article highligts widgets that can be selected directly from the Blogger add gadget feature. Is your poll on the selection list? If so I could try it and include it in the next series. Let me know.

Ricky March 12, 2010

Some good hacks you have mentioned here. I tried making a blogger template long back but it was a complete disaster.Lol. Blogger has come long way.

SBA March 12, 2010

Yes, Blogger is trying hard. sorry about the template disaster but I'm sure you added some good knowledge to your bank.

Shane February 5, 2010

Hi SBA!

is there a way to know the trick of the SHARE AND ENJOY widget below each post?

Congrats on your blog, indeed very worth to learn the hacks and tricks

keep up the good work dude

SBA February 5, 2010

Shane, you didn't leave your blog addr so I don't know if you can use the WP plugin for 'share and enjoy' social bookmarks:

SexyBookMarks

Hope you can!

Rose DesRochers January 31, 2010

Nice tut. Blogger has come a long way. It's great to see them adding so many features,

SBA February 2, 2010

Yes, Blogger has come a long way — even added static pages recently! Soon we won't be able to tell Blogger from WP!

himanshu January 20, 2010

thanks for tthe post. will implement these widgets on my blog soon

Muhamad Lukman January 18, 2010

Hallow friend. I am blogger to, i like doing comment in any blog to comment. Than I do comment in your blog becouse i saw your site in opera forum. you can join with the opera comunity. "They are doing forum, chatting and news". Good luck

SBA January 18, 2010

Mr. I is the Opera man — I'm the Firefox lady! Instead of typing your blog id in the comment (may be picked up as spam) you can put it in the url field in this format: http://my.opera.com/luq_man_kla_x/blog/

SBA January 15, 2010

@John, @Tinh and @lqbal – appreciate tyour feedback and good wishes. Thank you.

Iqbal January 15, 2010

Nice tutorial friend, before i have got the same information from blogger in draft too that just about new widget from blogger buster. Keep posting n goOd LuCk for you []

Tinh@eblogtip.com January 4, 2010

Great to know that you are Thesis user too. I know all these tips but many other bloggers do not know, thanks for sharing them again.

JohnSmith January 3, 2010

Happy New Year ….may it bring lots of success in your life….

Previous post:

Next post: