73D41416194E8A7C390936971FB2B74B Chira Sathi

Friday, September 30, 2011

Learn How To Show Post Summary using The “Read More Link” or “Continue Reading link”

Totally Exceptional!! A good blogger can be identified by the way he manages his blog and organizes his posts. The homepage is the most important part of every blog. The homepage must contain up to 5-6 posts in order to seize the attraction of reader as much as possible. Keeping a reader busy for a longer time is what I call a blogging success. Showing 5-6 posts is load-time and user friendly only if you show a summary of each post. On my homepage you must have seen a Read More Link, clicking which expands the entire post. Look at a screen shot Below,
read-more1
This link just adds beauty to your blog along with some pro spice to it. So lets learn how to summarize your posts and give them the expandable functionality.
The steps that must be followed for planting this TNT are,
  • Go to layout > Edit HTML
layout-edit-html

Now The Most Important Step –> Back Up Your Template
By backing up your template I mean that you must save a copy of your current template in your computer hard drive. If in case something goes wrong, you can restore your template and have everything working as normal as before.
To backup your template click on the link saying Download Full Template , as shown below
backup-template
If suppose something goes wrong , you will simply click the Browse button, locate your saved template and then simply click the Upload button to restore your template back to normal.
  • Click on "Expand Widget Templates" at the top right hand corner of your Edit HTML page
expand-widgets
  • Now find this code ]]></b:skin> 
Tip: Pressing Ctrl + F  and then paste this code into the search box, as shown below,
Search-code
The search box is an easy way of finding codes in your template.
  • Just after ]]></b:skin> copy paste the code below,
Tip: Highlight the code below and then press Ctrl + c to copy the entire code and then press Ctrl + v to paste the code
<style>
<b:if cond='data:blog.pageType == "item"'>
span.fullpost {display:inline;}
<b:else/>
span.fullpost {display:none;}
</b:if>
</style>


  • Now find this code  <data:post.body/>
And just after <data:post.body/> add the code below,
<!--READ-MORE-STARTS-->
<b:if cond='data:blog.pageType != "item"'>
<a expr:href='data:post.url'>
<div style="text-align: right;">Read More ->></div></a>
</b:if>
<!--READ-MORE-STOPS-->

You can replace the text in red with anything you like, e.g: Continue Reading, Keep Reading
If you want to shift the "Read More->>" text to the extreme-left side, use this code:
<!--READ-MORE-STARTS-->
<b:if cond='data:blog.pageType != "item"'>
<a expr:href='data:post.url'>
<div style="text-align: left;">Read More ->></div></a>
</b:if>
<!--READ-MORE-STOPS-->

  • Save your template and you are Done!

Read Further to know How to Apply this TNT in your Posts
Now whenever you want to write a post in windows Live Writer, follow the procedure below,
  • Once you had finished writing your post, as shown below,
Readmore1
  • Just after completing your post click on the source button at the bottom of your windows live writer page,
readmore2
You will see something like this,
 source code for your post
  • Now use the code below to hide the portion of your post that you don’t want to be shown on your homepage
<span class="fullpost">
</span>
Now suppose if you want to show the post only till the lines
I have explained everything in these images so read carefully!
So you will add the codes as shown below,
the highlighted source code refers to the hidden text
You can see in the image above that I have added <span class="fullpost"> just above the part of the post I wanted to hide. The text that I want to hide is the one below,
“Please use windows live writer only for writing quality posts. This TNT of Read More link works best with windows Live writer. Blogger Editor is simply annoying and this trick simply just don’t work efficiently with it. If you still want to use blogger editor rather than windows live writer than frustration is what you will encounter! “
I added </span> to the part where the entire post completes or source code ends

In short add <span class="fullpost"> just before the text to be hidden and add </span> just after it
That’s All!
You can use some of the Images below instead of that Read More –>> text
 read-more with a black outline simple readmore text image read-more with a blue drop shadow read more text with black drop shadowread-more black and orange
To add an image instead of text simply replace Read More ->> in the code above with this,
<img border="0" alt="read more" src="URL Of Your Image"/>
Replace URL Of Your Image with your image link.
Update:-
I have created some high quality Read More Buttons, may be you will like them more. Visit these links,
If you want to learn how to add  these images instead of that Read More->> text, then let me know so that I could write a new post on that. And believe me adding an image instead of a text is extremely easy.

Create a Floating Feedback and Back-To-Top Button For Your Blogs

feedback and back to top button Asking your visitors to leave you suggestions or feedbacks can be pretty easy only if you provide them with an easy access to your feedback page. Readers are often lazy and getting them to leave a feedback is often tough. However you can let them comment willingly if you add a floating feedback button to your blog, that floats as a reader scrolls down or up. This floating button can be made more user friendly and eye-catching if you add a roll over effect to it. Hover your mouse over my feedback button at the bottom-left corner of this page and observe how the button magnifies when you hover your cursor over it. Liked it? Lets now learn the TNT of adding a Feedback Button to your blogs, along with a Floating Back-To-Top Button, which I will discuss later.
For a feedback button you will need two images, one small (30 by 145 pixels) and one large (35 by 170 pixels) You can also use my feedback button if you wish,
Small Image : small-feedback-button                               Large Image :  large-feedback-button
You will then need to upload these images to an image hosting web service like Photobucket or other services like Google sites and sigmirror
Get URLs for both these images and then follow the steps below

  • Sign in your blogger account
  • Go To Layout > Page Elements
Layout
  • Click on add a Gadget
add-a-gadget

  • Click on HTML/JavaScript
html-javascript

  • Now Copy paste the code below into the HTML/JavaScript widget,
<!--TNT-by-STC-FEEDBACK-IMAGE-STARTS-->
<a style="display:scroll;position:fixed;bottom:5px;left:0px;" href="URL Of Feedback Page" title="Your Feedback is always welcomed!"><img onmouseover="this.src='URL of your Larger Feedback button'" src="URL Of Your Smaller Feedback button" onmouseout="this.src='URL Of Your Smaller Feedback button'"/></a>
<!--TNT-by-STC-FEEDBACK-IMAGE-STOPS-->

Note:- Remember to replace the Colored text with the required detailed specified. You can change the text “ Your Feedback is always welcomed! “ with any message you like. You must have a Contact page, where users could fill up an Email form to send you their Suggestions. See my feed back page to get an idea, Click here!
  • Finally save your widget and view your blog with a floating Feedback button at the bottom-left corner of your homepage.
Add a Floating Back–To-Top button to your blog
If your blog’s homepage is really long or if you write lengthy posts then you must add a Back-To-Top button to your blog, by clicking which, users blog will be taken straight to the top (Header) of your blog. You can see my floating back-to-top button at the bottom-right corner of this page.
To add this button to your blog you will again need two identical images, one small and one large. May be you would like some of these buttons,
 back to top -large back-to-top-small-1                  hodge_podge-hodge_podge_icons-hodge_podge-left_arrow.ico-48x48  hodge_podge-hodge_podge_icons-hodge_podge-left_arrow.ico-32x32                 Up1Blue Up1Blue
Now lets learn on how to plant the TNT of adding a floating back-to-top button to your blog.
Follow the same steps as you did for adding the floating Feedback Button. Just paste the code below In your HTML/JavaScript widget,
<!--BACK-TO-TOP-STARTS-->
<a style="display:scroll;position:fixed;bottom:5px;right:5px;" href="#" title="Back to Top"><img onmouseover="this.src='URL Of Your Larger Button Image'" src="URL Of Your Smaller Button Image" onmouseout="this.src='URL Of Your Smaller Button Image'"/></a>
<!--BACK-TO-TOP-STOPS-->
Note:- Remember to replace the required detail with specific URLs of your Back-to-top buttons
Just save your widget and view your blog with a floating Back-To-Top button at the bottom-right corner of your homepage.
That’s All!

Free High Quality Flash Clocks For Your Blogs

Best Blogger Gadgets