...::ALL about BLOGS and BLOGGING (from A to Z)::...

migaramk

Well-known member
  • Jul 4, 2007
    22,458
    3,276
    113
    https://www.facebook.com/Migaramk.Exclusive
    blogger.jpg



    HI friends.....
    From now on I'am going to share some important secrets of BLOGGING....

    Blogger tricks
    Blogger tools
    Java scripts
    Link grabbing
    Link searching
    Adsence optimising






    your replies and reps are wellcome.. updates will depend on it....
     

    migaramk

    Well-known member
  • Jul 4, 2007
    22,458
    3,276
    113
    https://www.facebook.com/Migaramk.Exclusive
    First you need a E-mail account..
    It can be from any mail site. (make a attractive mail)

    THEN....

    GO 2 blogger home
    http://www.blogger.com/

    Create an account - Just a real simple form.

    Name your blog - We'll discuss this Below - Very Important!

    Choose a template - Choose a pre-built look and feel.


    google-blog-start.jpg


    google-blog-form.jpg

    Once you fill out the form, see the Orange Arrow... Continue.. and inside you go!
     

    migaramk

    Well-known member
  • Jul 4, 2007
    22,458
    3,276
    113
    https://www.facebook.com/Migaramk.Exclusive
    Name your Google Blog!

    And use good keywords for the name and the content. Good keywords are required for new or improved search engine rankings.

    eg- If u make a movie blog. your keywords must be movies, music, horror movies etc


    BLOG NAME--

    Most important part is this, choose a unique name, sweet and short.
    The shorter it gets people will remember it.
    And optimise it(eg- in a movie blog, part of a blog name should include "movie")
     

    migaramk

    Well-known member
  • Jul 4, 2007
    22,458
    3,276
    113
    https://www.facebook.com/Migaramk.Exclusive
    How to submit your URL to Google search engine

    Search engine submission Google style makes it possible for you to do the correct submission process, and you do not have to buy anything from anyone. I can't think of, nor have I ever used a better Google search ranking tool than keywords and content. The biggest search engine around says so too!

    There are worthwhile tools that help you with...


    traffic you must have

    keywords you need

    content for search engines

    marketing your site

    increasing your earnings


    CLICK HERE TO ADD
    http://www.google.com/addurl/?continue=/addurl


    ~~!! Don't You Think That I Deserve The Reps !!~~​
     

    migaramk

    Well-known member
  • Jul 4, 2007
    22,458
    3,276
    113
    https://www.facebook.com/Migaramk.Exclusive
    Background Image for Blogger Template

    Background Image for Blogger Template


    You will need to create an image. Find a picture you like. If you need a free photo editing tool, you can either search the net for one or use Google's Photo Editing Software Picasa. You can also use a small tile-size image which can be repeated so as to cover the entire page. Try not to have an image file that is too large as your page may take a little longer to load.


    Next, log in to your dashboard layout; under Template -> Edit HTML, scroll to where you see this:-


    body {
    background:$bgcolor;


    Change background color


    If you would like to change the background color of your blog to a very unique color, you can manually specify the color value. Search online for color codes, or take a look at the HTML Color Chart to see if you can find your desired color. For example, if you have chosen a color code #B38481, change the above code to this:-
    body {
    background-color:#B38481;


    Add a background image

    The code to insert is this:-
    body {
    background-image: url(URL address of your image);
     
    • Like
    Reactions: NJK4EVER

    migaramk

    Well-known member
  • Jul 4, 2007
    22,458
    3,276
    113
    https://www.facebook.com/Migaramk.Exclusive
    Add Styles And Effects To Your Images In Blogger

    Add Styles And Effects To Your Images In Blogger
    we will style the blogspot images depending on the following css tage
    don’t worry, it’s very very easy and every body can do it

    * Border
    there are a lot of border styles and we can change its color.

    * Padding

    the space between the border and the image.

    * Background
    the background between the image and the border and we can make it a picture like the demo or just a plain color.

    Step 1

    Now go to Blogger and log in, then navigate to : Layout >> Edit html >> and find the following code you can click ctrl+f to find it via your browser finder

    .post img {

    Now this is the opening tag for your images style and the symbol{ mean that this is the start of styles, you’ll need to find the style end symbol witch looks like this }
    And please delete all lines between the two symbols.
    so here is an example for the codes before and after deleting the style codes.
    note : the style lines are not the same for all templates, you may have more or less lines in your template.
    here is the example


    BEFORE

    .post img {
    border: 5px solid #F08C00;
    padding: 10px;
    }

    AFTER deleting the style lines

    .post img {


    }
     

    migaramk

    Well-known member
  • Jul 4, 2007
    22,458
    3,276
    113
    https://www.facebook.com/Migaramk.Exclusive
    Adding Borders To Your Images.

    Adding Borders To Your Images.

    Add the next line between opening and closing symbols

    border: 5px solid #F08C00;

    so your code should looks like this

    .post img {

    border: 5px solid #F08C00;

    }

    if you saved your template now you’ll have the following style for your images


    flower200%5B1%5D.jpg


    and you can change the following parts in the previous line to give it your favorite style.


    You can change number 5 to increase or decrease the width of the border

    This word control the type of your border


    this is will change your border color, and you can get your favorite color code from a code generator.
    now we added a border for your images style, you can click Save Template
     
    • Like
    Reactions: 1118lakmalkumara

    migaramk

    Well-known member
  • Jul 4, 2007
    22,458
    3,276
    113
    https://www.facebook.com/Migaramk.Exclusive
    Adding Numbered Page Navigation Bar For Blogger

    Adding Numbered Page Navigation Bar For Blogger
    2v1467p.jpg


    i’m sure that most of you have a lot of posts and the default blogger way to navigate between new post and old post is boring. what if your visitors wants to read for your oldest posts?
    should he keep clicking on “older posts”, No.
    You should apply this hack for your template, it’s one of the most useful blogger tricks ever.

    so lets see how to do it.


    Caution : Please backup your template (Download Full Template) Before making any changes.

    Step 1: Adding The CSS Code.

    Log into your blogger account and go to,
    Dashboard >> Layout >> Edit html.
    And find the following code.


    ]]></b:skin>

    And just before it Add the next code

    .showpageArea {padding: 0 2px;margin-bottom:10px;margin-top:10px;
    }

    .showpageArea a {border: 1px solid #505050;
    color: #000000;font-weight:normal;
    padding: 3px 6px !important;
    padding: 1px 4px ;margin:0px 4px;
    text-decoration: none;
    }
    .showpageArea a:hover {
    font-size:11px;
    border: 1px solid #333;
    color: #000000;
    background-color: #FFFFFF;
    }

    .showpageNum a {border: 1px solid #505050;
    color: #000000;font-weight:normal;
    padding: 3px 6px !important;
    padding: 1px 4px ;margin:0px 4px;
    text-decoration: none;

    }
    .showpageNum a:hover {
    font-size:11px;
    border: 1px solid #333;
    color: #000000;
    background-color: #FFFFFF;

    }
    .showpagePoint {font-size:11px;
    padding: 2px 4px 2px 4px;
    margin: 2px;
    font-weight: bold;
    border: 1px solid #333;
    color: #fff;
    background-color: #000000;

    }

    .showpage a:hover {font-size:11px;
    border: 1px solid #333;
    color: #000000;
    background-color: #FFFFFF;

    }
    .showpageNum a:link,.showpage a:link {
    font-size:11px;
    padding: 2px 4px 2px 4px;
    margin: 2px;
    text-decoration: none;
    border: 1px solid #0066cc;
    color: #0066cc;
    background-color: #FFFFFF;}

    .showpageNum a:hover {font-size:11px;
    border: 1px solid #333;
    color: #000000;
    background-color: #FFFFFF;
    }

    Step 2: Adding The Java Code.

    Find the next code Or some similar code


    <b:section class=’main’ id=’main’ showaddelement=’yes’>
    <b:widget id=’Blog1′ locked=’true’ title=’Blog Posts’ type=’Blog’/>
    </b:section>

    And After the </b:section> Tag add the next code.

    <script type='text/javascript'>

    var home_page_url = location.href;


    var pageCount=10;
    var displayPageNum=6;
    var upPageWord ='Previous';
    var downPageWord ='Next';


    function showpageCount(json) {
    var thisUrl = home_page_url;
    var htmlMap = new Array();
    var thisNum = 1;
    var postNum=1;
    var itemCount = 0;
    var fFlag = 0;
    var eFlag = 0;
    var html= '';
    var upPageHtml ='';
    var downPageHtml ='';





    for(var i=0, post; post = json.feed.entry; i++) {

    var timestamp1 = post.published.$t.substring(0,19)+post.published.$t.substring(23,29);
    timestamp = encodeURIComponent(timestamp1);


    var title = post.title.$t;

    if(title!=''){
    if(itemCount==0 || (itemCount % pageCount ==(pageCount-1))){
    if(thisUrl.indexOf(timestamp)!=-1 ){
    thisNum = postNum;
    }

    if(title!='') postNum++;
    htmlMap[htmlMap.length] = '/search?updated-max='+timestamp+'&max-results='+pageCount;
    }
    }
    itemCount++;

    }

    for(var p =0;p< htmlMap.length;p++){
    if(p>=(thisNum-displayPageNum-1) && p<(thisNum+displayPageNum)){
    if(fFlag ==0 && p == thisNum-2){
    if(thisNum==2){
    upPageHtml = '<span class="showpage"><a href="/">'+ upPageWord +'</a></span>';
    }else{
    upPageHtml = '<span class="showpage"><a href="'+htmlMap[p]+'">'+ upPageWord +'</a></span>';
    }

    fFlag++;
    }

    if(p==(thisNum-1)){
    html += '<span class="showpagePoint">'+thisNum+'</span>';
    }else{
    if(p==0){
    html += '<span class="showpageNum"><a href="/">1</a></span>';

    }else{
    html += '<span class="showpageNum"><a href="'+htmlMap[p]+'">'+ (p+1) +'</a></span>';
    }
    }

    if(eFlag ==0 && p == thisNum){
    downPageHtml = '<span class="showpage"> <a href="'+htmlMap[p]+'">'+ downPageWord +'</a></span>';
    eFlag++;
    }
    }
    }

    if(thisNum>1){
    html = ''+upPageHtml+' '+html +' ';
    }

    html = '<div class="showpageArea"><span style="COLOR: #000;" class="showpageOf"> Pages ('+(postNum-1)+')</span>'+html;

    if(thisNum<(postNum-1)){
    html += downPageHtml;
    }

    if(postNum==1) postNum++;
    html += '</div>';


    var pageArea = document.getElementsByName("pageArea");
    var blogPager = document.getElementById("blog-pager");

    if(postNum <= 2){
    html ='';
    }

    for(var p =0;p< pageArea.length;p++){
    pageArea[p].innerHTML = html;
    }

    if(pageArea&&pageArea.length>0){
    html ='';
    }

    if(blogPager){
    blogPager.innerHTML = html;
    }


    }


    function showpageCount2(json) {

    var thisUrl = home_page_url;
    var htmlMap = new Array();
    var isLablePage = thisUrl.indexOf("/search/label/")!=-1;
    var thisLable = isLablePage ? thisUrl.substr(thisUrl.indexOf("/search/label/")+14,thisUrl.length) : "";
    thisLable = thisLable.indexOf("?")!=-1 ? thisLable.substr(0,thisLable.indexOf("?")) : thisLable;
    var thisNum = 1;
    var postNum=1;
    var itemCount = 0;
    var fFlag = 0;
    var eFlag = 0;
    var html= '';
    var upPageHtml ='';
    var downPageHtml ='';



    var labelHtml = '<span class="showpageNum"><a href="/search/label/'+thisLable+'?&max-results='+pageCount+'">';
    var thisUrl = home_page_url;


    for(var i=0, post; post = json.feed.entry; i++) {

    var timestamp1 = post.published.$t.substring(0,19)+post.published.$t.substring(23,29);
    timestamp = encodeURIComponent(timestamp1);



    var title = post.title.$t;

    if(title!=''){
    if(itemCount==0 || (itemCount % pageCount ==(pageCount-1))){
    if(thisUrl.indexOf(timestamp)!=-1 ){
    thisNum = postNum;
    }

    if(title!='') postNum++;
    htmlMap[htmlMap.length] = '/search/label/'+thisLable+'?updated-max='+timestamp+'&max-results='+pageCount;

    }
    }
    itemCount++;
    }

    for(var p =0;p< htmlMap.length;p++){
    if(p>=(thisNum-displayPageNum-1) && p<(thisNum+displayPageNum)){
    if(fFlag ==0 && p == thisNum-2){
    if(thisNum==2){
    upPageHtml = labelHtml + upPageWord +'</a></span>';
    }else{
    upPageHtml = '<span class="showpage"><a href="'+htmlMap[p]+'">'+ upPageWord +'</a></span>';
    }

    fFlag++;
    }

    if(p==(thisNum-1)){
    html += '<span class="showpagePoint">'+thisNum+'</span>';
    }else{
    if(p==0){
    html = labelHtml+'1</a></span>';
    }else{
    html += '<span class="showpageNum"><a href="'+htmlMap[p]+'">'+ (p+1) +'</a></span>';
    }
    }

    if(eFlag ==0 && p == thisNum){
    downPageHtml = '<span class="showpage"> <a href="'+htmlMap[p]+'">'+ downPageWord +'</a></span>';
    eFlag++;
    }
    }
    }

    if(thisNum>1){
    if(!isLablePage){
    html = ''+upPageHtml+' '+html +' ';
    }else{
    html = ''+upPageHtml+' '+html +' ';
    }
    }

    html = '<div class="showpageArea"><span style="COLOR: #000;" class="showpageOf"> Pages ('+(postNum-1)+')</span>'+html;

    if(thisNum<(postNum-1)){
    html += downPageHtml;
    }

    if(postNum==1) postNum++;
    html += '</div>';

    var pageArea = document.getElementsByName("pageArea");
    var blogPager = document.getElementById("blog-pager");

    if(postNum <= 2){
    html ='';
    }

    for(var p =0;p< pageArea.length;p++){
    pageArea[p].innerHTML = html;
    }

    if(pageArea&&pageArea.length>0){
    html ='';
    }

    if(blogPager){
    blogPager.innerHTML = html;
    }


    }


    </script>

    <script type='text/javascript'>

    var thisUrl = home_page_url;
    if (thisUrl.indexOf("/search/label/")!=-1){
    if (thisUrl.indexOf("?updated-max")!=-1){
    var lblname1 = thisUrl.substring(thisUrl.indexOf("/search/label/")+14,thisUrl.indexOf("?updated-max"));
    }else{
    var lblname1 = thisUrl.substring(thisUrl.indexOf("/search/label/")+14,thisUrl.indexOf("?&max"));
    }
    }

    var home_page = "/";
    if (thisUrl.indexOf("?q=")==-1 && thisUrl.indexOf(".html")==-1){
    if (thisUrl.indexOf("/search/label/")==-1){
    document.write('<script src="'+home_page+'feeds/posts/summary?alt=json-in-script&callback=showpageCount&max-results=99999" ><\/script>')
    }else{document.write('<script src="'+home_page+'feeds/posts/full/-/'+lblname1+'?alt=json-in-script&callback=showpageCount2&max-results=99999" ><\/script>')
    }
    }
    </script>


    And Click “save template”
    In the above code you may only edit four lines to customize your navigation bar.

    var pageCount=10;

    In this code Number 10 control the number for posts per page, you can change it to choose how many posts per page you want to display.
    Note : This Number value should be the same With in your blogger account settings
    The settings can be found by going to Dashboard >> Setting >> Formatting >> Show >> 10 posts

    var displayPageNum=6;

    Number 6 here control the number of pages that will be shown in the navigation bar.
    var upPageWord ='Previous';
    var downPageWord ='Next';

    if you want to change the language or just change it to any thing, please change Previous for example to Older

    Final Step


    This blogger trick my cause some problems if you use labels in your posts and to solve this problems you have to apply the next step for your template.

    1. Add Label Gadget To Your Template by going to Layout >> page elements >> Add Gadget >> Select Labels and add it to your template.

    2. go to, Dashboard >> Layout >> Edit html.
    And find the following code.
    <a expr:dir=’data:blog.languageDirection’ expr:href=’data:label.url’><data:label.name/></a>

    And replace it with the following code.

    <script type='text/javascript'>
    var lblname = "<data :label.name/>";

    lblname2 = encodeURIComponent(lblname);
    var feedlink = '/search/label/' + lblname2+'?&max-results=10';
    document.write('<a href="' + feedlink + '">'+lblname+'</a>');
    </script>

    And Click “save template”
     

    migaramk

    Well-known member
  • Jul 4, 2007
    22,458
    3,276
    113
    https://www.facebook.com/Migaramk.Exclusive
    TIME FOR POSTS-----

    Post Footer – Customize Template

    In this tutorial, we discuss the various ways you can customize the Post Footer and change the Blogger template. The steps will cover how to change the “Posted by author”, “Comments”, “Labels” links in the Post Footer, replacing them with other names or pictures.

    2r55jrk.jpg


    This is how a typical Post Footer looks like. It includes the author's name, time of the post, number of comments, number of backlinks, icon for readers to email the post, icon for you to edit your post, as well as Labels.


    Before we proceed to alter the template, remember to backup the existing template. Go to Template -> Edit HTML. Check the “Expand Widget Templates” box. Backup your template by copying the template and saving it in an MS Notepad text file. You can also click the “Download Full Template” link that appears right after the words “Before editing your template, you may want to save a copy of it.”


    2n1ursi.jpg


    by this box u can

    1. Change author's name
    2. Remove “Posted by”
    3. “Posted by” below Post title
    4. Image instead of Name
     
    • Like
    Reactions: llrajitha

    migaramk

    Well-known member
  • Jul 4, 2007
    22,458
    3,276
    113
    https://www.facebook.com/Migaramk.Exclusive
    Add Blogger search box

    Add Blogger search box (costom made)

    Under Template->Page Elements tab, click “Add a Page Element” at the place where you want your search box to appear. Select “HTML/JavaScript”.

    There are several HTML codes posted on the net. I tried a few, and found the one that works as follows:-

    <p align="left">
    <form id="searchthis" action="YOUR BLOG URL/search" style="display:inline;" method="get">
    <strong>NAME OF YOUR BLOG<br/></strong>
    <input id="b-query" maxlength="255" name="q" size="20" type="text"/>
    <input id="b-searchbtn" value="Search" type="submit"/>
    </form></p>



    You can also change the “Search” button to say, “Hit” or “Go”, by changing the Value.

    Save the code and refresh your page. If you want a longer or shorter search box, you can play around with the size. The above example of a width size="20" and value="Hit" will give you results.

    or else try the google serach box.....


    2q155pt.jpg
     
    Last edited: