Pages

A Great Auto Readmore with cropped thumbnail for blogger blogspot

In this tutorial, I will show you how to make a great Auto Readmore with cropped thumbnail for blogger blogspot. This tutorial also fix the problem for Static Page when applying this auto readmore script.


Just follow the steps below.

First, Login to your blogger account, click Design, click Edit HTML, then click Expand Widget Templates.

Find code below (hit Ctrl+F on your keyboard).
]]></b:skin>
and replace with this code:
.crop-containr{float:left;width:160px;height:120px;border:1px solid #ddd; background:#f3f3f3; margin:0px 10px 1px 0; padding:3px;}
.crop{overflow:hidden;width:160px;height:120px;border:0px solid #eaeaea;}
.crop img{margin-top:-6px;margin-left:-6px;opacity:1;}
.crop img:hover{opacity:.7;}

]]></b:skin>

    <script type='text/javascript'>
    var thumbnail_mode = &quot;float&quot; ;
    summary_noimg = 400;
    summary_img = 300;
    img_thumb_height = &quot;&quot;;
    img_thumb_width = 190;
    </script>

    <script type='text/javascript'>
    //<![CDATA[
    /******************************************
    Auto-readmore by Kentshin - http://blogthemeplates.blogspot.com
    ********************************************/
    function removeHtmlTag(strx,chop){
    if(strx.indexOf("<")!=-1)
    {
    var s = strx.split("<");
    for(var i=0;i<s.length;i++){
    if(s[i].indexOf(">")!=-1){
    s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
    }
    }
    strx = s.join("");
    }
    chop = (chop < strx.length-1) ? chop : strx.length-2;
    while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
    strx = strx.substring(0,chop-1);
    return strx+'';
    }

    function createSummaryAndThumb(pID){
    var div = document.getElementById(pID);
    var imgtag = "";
    var img = div.getElementsByTagName("img");
    var summ = summary_noimg;
    if(img.length>=1) {
    imgtag = '<span style="float:left; padding:0px 0px 0px 0px;"><div class="crop-containr"><div class="crop"><img src="'+img[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></div></div></span>';
    summ = summary_img;
    }

    var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ)+ '...' + '</div>';
    div.innerHTML = summary;
    }
    //]]>
    </script>

You can set the size or the appearance by customize the set of the red colored text shown above.

After all, find this code:
<data:post.body/>
and replace with this code:
<!-- START Auto READMORE -->
<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:blog.pageType != "static_page"'>
<div expr:id='"summary" + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb("summary<data:post.id/>");</script>
<span class='rmlink' style='float:right; margin-top:20px; display:inline'>
<a expr:href='data:post.url' style='padding:5px; background-color:#eee;-webkit-border-top-left-radius: 5px; -webkit-border-bottom-right-radius: 5px; -moz-border-radius-topleft: 5px; -moz-border-radius-bottomright: 5px; border-top-left-radius: 5px; border-bottom-right-radius: 5px;'>Read More</a>
</span>
</b:if>
</b:if>

<b:if cond='data:blog.pageType == "item"'> 
<data:post.body/>
</b:if>
<b:if cond='data:blog.pageType == "static_page"'>
<data:post.body/>
</b:if>
<!-- END Auto READMORE -->

Now, your blog already looks nice and neat. Good Luck.

Instant Blogger Template


TEMPLATE FEATURES
Platform Type : Blogger / Blogspot
Template Name : Instant Blogger Template
Instructions URL : Template Settings / How to install Blogger Template
Template Author : Lasantha Bandara / http://www.premiumbloggertemplates.com
Designer : http://newwpthemes.com
Template type : 1 Sidebar, 2 Column, Adapted from Wordpress, Featured Section, Fixed width, Grey, Header Banner, Magazine, Right Sidebar, Rounded corners, Slider, Top Navigation Bar, Web 2.0, White
Descriptions : 2 Horizontal Navigation Menus, Auto Read More Feature with Thumbnails, 468*60 Header Ads banner, 1 CSS Search Box, 1 Featured content slider installed, SEO friendly blogger title hack installed to help you rank higher in Google, Meta tags installed, Hosted images on blogger, Free use forever!, Favicon support so you can add your own url icon, Compressed CSS to speed up your page load times, Numbered Page Navigation Hack Installed, More ...
Properties : 1 Right Sidebar, 2 Column, Ads Ready, Blogger, Custom Navbar, Fixed, Gray, White, Wordpress Look,

Give Some Serious Thought About Choosing Profitable Blog Niche

The first faced big question for new blogger is "What topics will I choose for my profitable blog niche?". Referring to this question, we can conclude that choosing a topic before making a blog is very important. Some people says that they create a blog just for fun, and the other purely to make money from it. If you fall in the later category, it is imperative to give some serious thought about choosing your blog niche. The success of your blog depends on how wisely you select the topic of your blog. Following are the guidelines which will help you to select an appropriate topic for your blog:

Personal Interest
If you are blogging on the topic that you love and are passionate about it, then you have already won the half battle. The first and the most important thing is to select a topic that you love to explore, read and talk about. Readers are only going to come back on your blog if they find the content appealing and useful, which you can only serve them if you are comfortable and expert in your domain. You will also loose interest very soon in generating fresh content if it is not of your choice. Having the favorite topic in hand for the blog does not mean that you will surely get profit from your blog. There are other factors involved.

Popularity
Assessing the popularity of the chosen niche is the next step. If people do not search for the topic you have chosen, then no matter how hard you work, the results will never be promising. Start analyzing with search engine results. Google the first keyword that comes in your mind related to the topic and see the results.

This method will give you idea about two things. How much content about that topic is on net and does it have some advertiser base or not? On top right of results page you can see the number of pages having the keyword that are in Google's index. If your keyword is made of several words put them in double quotes and then search. A large number suggests that the topic is quite popular. On the right side of page if you can see long horizontal list of sponsored links then be assured that your chosen niche is highly competitive. To sum up, if people are not looking for that topic on major search engines then your blog is a dead duck.

Profit Potential
The popularity of the topic alone doesn't mean it can give you profits. The most critical thing is to look whether it has sufficient advertiser's base in major PPC Advertising networks. Google Adsense and Yahoo Publishers Network (YPN) are the two most popular PPC programs. Google has provided Google AdWords Keyword Tool and Google Adwords Traffic Estimator to look for high paying keywords related to your blog niche. You can use these tools to get a fair idea about the traffic and average CPC for the relevant keywords for AdWords/Adsense.

Google AdWords Keyword Tool

Although the provided data is not accurate estimate, still it will give you fair amount of data to assess the earning potential of your blog niche. For more accurate keyword research you can use WordTracker and can get the list of targeted keywords for the topic of your blog.

Content availability
To keep running your blog, you need fresh quality content at a consistent space. Some bloggers face this situation where they start very enthusiastically, but soon they end up in searching for fresh ideas for their blog content space. For making a successful blog you have to feed it with new valuable content continuously. Choosing a niche that has scope of vast amount of content creation is a wise decision. You can subscribe to news bulletins, discussion forums and your peers in the Blogosphere to get new ideas and topics for fresh new content.

So, did you find your topic for your blog ?. If did, what you waiting for ?. Get start blogging now. Give some thought before you start posting on your blog, as it will be the deciding factor in the success of your blog. Good Luck...