Wednesday, January 23, 2008

Recent Comments and Recent Posts Widgets

post and commentOne way to let readers locate the recent posts is to have an “Archive” page element in the sidebar. It sorts the articles by dates. However, it is not ideal for those who do not have active Blogs or any new post in the last couple of months. These people may want to display the links to recent posts, regardless of the dates. Even if you have an active Blog, regular visitors may want to view your recent posts only, and a link widget showcasing these recent post links would be appreciated.

Adding a Recent Comments widget into your sidebar is a way of acknowledging the readers' feedback and giving their comments a prominent place in the main page of your Blog. It also makes it easier for them to check for replies to their questions and for other readers to follow up on topics which they may find interesting. This widget is especially useful if you have numerous comments to your Blog posts. As part of our writeup, we shall also explain how you can remove the “nofollow” tag in the Comments section of the template so as to allow the links in these comments to be visited by search engine spiders.
Ok. Now we add 2 widgets for your blog more pro !!!

Add Recent Posts:
Template -> Page Elements -> Add a Page Element -> HLMT/Javascript

<script src="http://taolaga.googlepages.com/blogger-widget.js"></script><script>var
numposts = 10; var showpostdate = false; var
showpostsummary = false; var numchars = 100; </script> <h2>RECENT POSTS</h2>
<script src="http://net-soft.blogspot.com/feeds/posts/default?orderby=published&amp;alt=json-in-script&amp;callback=rp"></script>

Add Recent Comments:
Template -> Page Elements -> Add a Page Element -> HLMT/Javascript

<script src="http://taolaga.googlepages.com/blogger-widget.js"></script><script>var
numposts = 10; var showpostdate = false; var
showpostsummary = false; var numchars = 100; </script> <h2>RECENT COMMENTS</h2>
<script src="http://net-soft.blogspot.com/feeds/comments/default?orderby=published&amp;alt=json-in-script&amp;callback=rp"></script>

Note:
Change the portion (in red) to the URL of your own blog.
numposts = 10: number of post you select display

0 comments:

Design by Free blogger template