TOTAL VISITS

Monday, 8 August 2016

Two Line urdu Romantic shayari

Two Line urdu Romantic shayari ,2 Line Urdu Poetry Is Very romantic Poetry For Lovers ,2 Line Urdu romantic Poetry Pics ,Urdu Shairy,Urdu two Line romantic Poetry In Urdu,2 Line urdu poetry,2 Line urdu poetry images,2 Line urdu poetry facebook,2 Line urdu poetry sms,2 Line urdu shayari,best 2 Line urdu poetry,urdu 2 Line poems,2 or 2 Line urdu poetry,very sad 2 Line urdu poetry,2line,urdu shayari sms,2 Line urdu Romantic shayari,2 Line urdu love poetry,2 Line urdu romantic poetry,2 Line urdu romantic shayari,2 Line urdu sad poetry,2 Line urdu sad shayari,2 or 2 Line urdu shayari












Sunday, 7 August 2016

Blogger Introduced Sitemaps For "Static Pages"

Blogger blogs have a sitemap.xml file which contains link-list of all "Posts" published by a user. But what it lacked was the list of "Static pages" which this sitemap file did not include. These pages also don't appear in the sitemap generated at atom.xml or rss.xml and there is no way to publish a file on blogger. Just recently I observed that blogger now auto generates a separate dynamic sitemap for blog pages which contains list of all static pages published so far. The sitemap for blogspot static pages is located at  /sitemap-pages.xml. You can now easily submit your pages to search engines to properly get them crawled and indexed. BLOGGER STATIC PAGES SITEMAP

Where is your Static Pages Sitemap Located?

You can access your pages sitemap by typing the following URL in your browser's address bar:

For Default Blogspot Domains:

http://Your-Domain.blogspot.com/sitemap-pages.xml

For Custom Domains:

http://www.Your-Domain.com/sitemap-pages.xml

Replace Your-Domain with your domain name.

For example in our case our sitemap is located at:

http://www.mybloggertricks.com/sitemap-pages.xml

Submit Static Pages Sitemap To Google Search Console

Submit your static pages to Google so that search robots could index and display them in SERPs.

Follow these easy steps:

  1. Go To Google Search Console (aka as Google webmaster tools)
  2. Choose your blog from the list provided
  3. Choose Crawl > Sitemaps from the left sidebar menu

    crawl sitemaps option in webmaster tools

  4. Click ADD/TEST SITEMAP button towards yours top-right side submit blogspot static pages sitemap to Google
  5. Insert sitemap-pages.xml inside the text field.
  6. Hit "Submit" button and you are all done!

Same method applies for all other search engines like Bing/Yahoo and Yandex.

Why are all Static Pages not indexed by Google?

Google can only index pages which have not been tagged as "noindex" either using a meta tag or Custom Robots Tags. If you have selected the "noindex" option from page settings while publishing a Page using blogger editor then this page will be submitted to Google by the sitemap but it will not be indexed unless you uncheck this "noindex" box.

noindex pages in blogger

 

For example in our case we have 6 pages but only 3 are indexed. This is because we have set 3 pages as noindex because they are for UI purpose only. These pages include Affiliate pages, Disclaimer pages etc.

indexed static pages

Hope this tutorial may help you in getting some more attention from Google and help you rank even better on search engine results pages. Let me know if you need any help or assistance. =)

Fakhira Batool 2 Line Poetry Pics

Fakhira Batool is Best urdu poet From Pakistan, She has written humorous poetry,UrduPoetry34.Blogspot.com is Designed New Urdu Poetry Of Fakhira Batool Naqvi,Fakhira Batool shayree  in images, Urdu love Fakhira Batool 2lines Poetry, Urdu Fakhira Batool Poetry 2 lines, best Urdu Fakhira Batool Poetry, best Urdu Fakhira Batool Poetry, Urdu Poetry images 2 lines, Urdu very sad Fakhira Batool 2 line Poetry pics, Urdu Fakhira Batool four lines Poetry images download, Urdu sayeri 2016 Fakhira Batool poetry,Fakhira Batool Poetry pic in Urdu 2016, Fakhira Batool Urdu Poetry pics, Fakhira Batool Poetry pics in Urdu, two lines Poetry pics, best Urdu sites, love status f.b. in Urdu, new Fakhira Batool images, Fakhira Batool Poetry images in Urdu, Fakhira Batool Poetry pics, Fakhira Batool shayari images hd,Fakhira Batool pics with shayari, Fakhira Batool peotry in Urdu 2lines, Fakhira Batool Poetry 2 lines, pics of Urdu Poetry, 











Sunday, 31 July 2016

Urdu Poetry Write in English

English 2 line Poetry pics, Urdu English four lines Poetry images download, Urdu sayeri 2016 English with image 2 lines, Urdu Poetry images new, best Urdu love Poetry 2016, girl pic Poetry hd Urdu, best Poetry pics, two lines Poetry 2016, English Poetry pic in Urdu 2016, English Urdu Poetry pics, English Poetry pics in Urdu, two lines Poetry pics, best Urdu sites, love status f.b. in Urdu, new English images, English Poetry images in Urdu, English Poetry pics, English shayari images hd, Urdu Poetry images download, boys English pics with shayari for , Urdu Poetry images download, two line Poetry images in Urdu, walpapers Poetry imges, English peotry in Urdu 2lines, English Poetry 2 lines, pics of Urdu Poetry, Poetry 2 lines, love Poetry in roman Urdu, best image for boy English Poetry, 2line Poetry fb, 2lines Poetry, Poetry in Urdu for friend tow line pic, images of English boys in Urdu, Poetry in Urdu pics most popular, English girl with English Urdu lines, English Poetry images, very English Urdu Poetry wallpapers 2016 in facebook, download photos of Urdu English and English Poetry, English Urdu quotes with pictures, Urdu Poetry images two lines, best Urdu English Poetry in 2 line in English  roman, best Poetry 2 line English,English Poetry facebook, best Poetry pictures of 2016, love English Poetry in Urdu images, most English Poetry line in Urdu, pics of Poetry new 2016, English Urdu Poetry with , English images in Urdu but written in english, 2 line English Poetry pictures, Urdu Poetry pictures shayari, Urdu Poetry images best, Poetry 2line, Poetry walpapers newnew Poetry images, hd Urdu Poetry pictures, girls images English 2line shayari, picture Poetry in two lines in Urdu, English Urdu Poetry 2 lines image, Poetry in Urdu 2 lines, Poetry pics for fb, English potry cover pics, English photos with in Urdu quotes for boys, Poetry with pics in Urdu, English Poetry 2 line breakup in Urdu, 2 line pic Poetry, best Poetry in Urdu 2 lines, English Poetry in Urdu 2 line, English Poetry in Urdu, English Urdu Poetry 2 lines, English Poetry pic, English shayari pic hd, Urdu English Poetry 2 line, 2 line Urdu English Poetry images, English Poetry in Urdu 2 lines, best Urdu Poetry images, Urdu English Poetry images, best Urdu 4 line English shayri images, very English Urdu Poetry hd Urdu Poetry images, pics, Urdu 2 line Poetry images, new English Urdu image, English Urdu Poetry images, Urdu 2 line Poetry pics, 2 lines Urdu Poetry images,  Poetry cute images, Urdu Poetry images 2016, new Poetry in Urdu images, Urdu English Poetry images 2016, best Urdu lines, two line Poetry images, English images of love with quotes in Urdu boy, English Poetry in Urdu 2 lines with images, download English images, best Urdu Poetry wallpapers, best Poetry in Urdu facebook 2016, Urdu Poetry images, two lines best Poetry images, nice Urdu Poetry pics, English images Poetry, English pics with shairy, English Urdu Poetry in 2 lines, love pics Urdu, heart touching Urdu pic Poetry download




Friday, 22 July 2016

Why Blogspot Gives Two Description Fields To Edit?

two description fields in blogspot blogs


Blogger dashboard settings allow users to change the description of the blog twice once under the "Basic" option and next under "Search Preferences > Meta Tags" option. Blogspot users often find it confusing to understand the purpose behind each of these description boxes. We will discuss in detail the basic difference between each of these description boxes.

Purpose of Blog Description Field Under "Basic" Option

You can edit this description of the blog by going to Blogger > Settings > Basic : Basic.

blogspot description box

Description under Basic option is your front-end description of the blog that is shown as text under your Blog Title inside the Header section. You can call it as your blog punch line, blog slogan or a brief blog description. It must be short and precise, not longer than 3-4 words which could be your targeted keywords also. .

Note: It is not your meta description that is displayed in search results. It is your front-end textual blog description that is shown to your blog visitors. You can choose to display this description or hide it. It has no SEO value compared to meta description that we will discuss later in this post.

In our case it is "Transforming Bloggers Into Entrepreneurs"

blogspot description below blog title

Purpose of Description Field Under "Meta Tags" Option

You can edit this description of the blog by going to Blogger > Search preferences > Meta tags: Description.

blogspot meta description box

This your blog's Meta Description that gives search robots a brief introduction of your blog in no more than 150 characters. This is not shown to your blog visitors but is added inside the template source file. Visit your blog and click "Ctrl + U" to view source. Search for "Description" and you will see the meta description HTML tag as shown below:

blogspot meta description box

I have created several tools for creating SEO friendly meta description tags which you can try below:

By default blogger shows your blog meta description inside all your blog posts, static pages and archive/search pages. As a result of this two meta description tags are created on your source page. Once for the blog homepage and once for the post description (description you type in blogger editor: search option). To counter this problem read the following post where I have suggested a perfect solution:

If you can't see a meta description option for your blog posts in the editor then please read this post:

I hope this post may have cleared your confusion on what exactly is the difference between each of these description fields. Let me know if you have any questions. Peace buddies =)

Monday, 18 July 2016

HD Sad Poetry Pics

HD Sad Poetry Pics, Sad Urdu Poetry 2 lines, Sad Poetry pic, Sad shayari pic hd, Urdu Sad Poetry 2 line, 2 line Urdu Sad Poetry images, Sad Poetry in Urdu 2 lines, best Urdu Poetry images, Urdu Sad Poetry images, best Urdu 4 line Sad shayri images, very Sad Urdu Poetry hd Urdu Poetry images, pics, Urdu 2 line Poetry images, new Sad Urdu image, Sad Urdu Poetry images, Urdu 2 line Poetry pics, 2 lines Urdu Poetry images,  Poetry cute images, Urdu Poetry images 2016, new Poetry in Urdu images, Urdu Sad Poetry images 2016, best Urdu lines, two line Poetry images, Sad images of love with quotes in Urdu boy, Sad Poetry in Urdu 2 lines with images, download Sad images, best Urdu Poetry wallpapers, best Poetry in Urdu facebook 2016, Urdu Poetry images, two lines best Poetry images, nice Urdu Poetry pics, Sad images Poetry, Sad pics with shairy, Sad Urdu Poetry in 2 lines, love pics Urdu, heart touching Urdu pic Poetry download,Sad shayree  in Urdu images, Urdu love Sad 2lines Poetry, Urdu Sad Poetry 2 lines, best Urdu Sad Poetry, best Urdu Sad Poetry, Urdu Poetry images 2 lines, Urdu very Sad 2 line Poetry pics, Urdu Sad two lines Poetry images download, Urdu sayeri 2016 Sad with image 2 lines, Urdu Poetry images new, best Urdu love Poetry 2016, girl pic Poetry hd Urdu, best Poetry pics, two lines Poetry 2016, Sad Poetry pic in Urdu 2016, Sad Urdu Poetry pics, Sad Poetry pics in Urdu, two lines Poetry pics, best Urdu sites, love status f.b. in Urdu, new Sad images, Sad Poetry images in Urdu, Sad Poetry pics, Sad shayari images hd, Urdu Poetry images download, boys Sad pics with shayari for , Urdu Poetry images download, two line Poetry images in Urdu, walpapers Poetry imges, Sad peotry in Urdu 2lines, Sad Poetry 2 lines, pics of Urdu Poetry, Poetry 2 lines, love Poetry in roman Urdu, best image for boy Sad Poetry, 2line Poetry fb, 2lines Poetry, Poetry in Urdu for friend tow line pic, images of Sad boys in Urdu, Poetry in Urdu pics most popular, Sad girl with Sad Urdu lines, Sad Poetry images, very Sad Urdu Poetry wallpapers 2016 in facebook, download photos of Urdu Sad and Sad Poetry, Sad Urdu quotes with pictures, Urdu Poetry images two lines, best Urdu Sad Poetry in 2 line in roman, best Poetry 2 line Sad,Sad Poetry facebook, best Poetry pictures of 2016, love Sad Poetry in Urdu images, most Sad Poetry line in Urdu, pics of Poetry new 2016, Sad Urdu Poetry with , Sad images in Urdu but written in english, 2 line Sad Poetry pictures, Urdu Poetry pictures shayari, Urdu Poetry images best, Poetry 2line, Poetry walpapers newnew Poetry images, hd Urdu Poetry pictures, girls images Sad 2line shayari, picture Poetry in two lines in Urdu, Sad Urdu Poetry 2 lines image, Poetry in Urdu 2 lines, Poetry pics for fb, Sad potry cover pics, Sad photos with in Urdu quotes for boys, Poetry with pics in Urdu, Sad Poetry 2 line breakup in Urdu, 2 line pic Poetry, best Poetry in Urdu 2 lines, Sad Poetry in Urdu 2 line,













Most Dynamic Random Posts Widget For Blogger

Random Posts Widget For BloggerBlogger random posts widget shows a random list of your blog posts with thumbnails, title, comments count, date, label tag and author avatar. It is really important to send traffic to your old posts and keep highlighting them. Random Posts gadget helps your readers to take a quick look at some of the older posts that they might have missed reading. It attracts readers attention towards oldest posts thus helping you with increased pageviews and higher revenue. This widget displays both label links and author avatar which are the two features first time introduced for blogspot blogs and thus makes this widget extremely unique. It is built using Blogger JSON Feeds technique that we have discussed in detail.

DEMO: Look at the right sidebar of MBT blog

Tabbed Random Posts Widget

Random Posts Widget Features

Random Posts widget has some unique features introduced first time online :

  1. Author Avatar - Unique!
  2. Clickable Comments Count
  3. Shows Post Labels - Unique!
  4. Custom Date Format
  5. Clickable Animated Featured Thumbnails - Unique!
  6. Option to increase or decrease thumbnail Resolution - Unique!
  7. Support for Third-party Images and YouTube thumbnails - Unique!
  8. Title Length is adjustable

Add Random Posts Widget To Blogger

Follow the steps below to install random posts widget on a blogspot blog:

  1. Go To Blogger > Template
  2. Backup your template
  3. Click "Edit HTML"
  4. Just below <head> tag paste the following CSS source links:

    <link href='http://fortawesome.github.io/Font-Awesome/assets/font-awesome/css/font-awesome.css' rel='stylesheet'/>
    <link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'/>

  5. Next search ]]></b:skin> and just above it paste the following code:

    /*######## Random Posts Widget By STCnetwork.org ########*/
    .mbtlist {list-style-type:none;overflow:hidden; margin: 10px 0px 0px 10px!important; width:300px; padding:0px!important;}
    .mbtlist li {margin:0px auto 10px auto; clear:both; color:#666; font-family:helvetica; font-size:12px; border-bottom:1px solid #eee; overflow:hidden; position:relative}
    .mbtlist li a { color:#666; text-decoration:none; }
    .mbtlist i{color:#999; padding-right:5px; }
    .mbtlist .iline{line-height:2em; margin-top:3px;}
    .mbtlist .icontent{line-height:1.5em; margin-top:5px; clear:both}
    .mbtlist div span{margin:0 7px 0 0; display:inline-block;font-weight: normal; }
    .mbtlist .mbttitle {font-family:oswald; font-size:13px; color:#838383; font-weight:normal; text-decoration:none;}
    .mbtlist .mbttitle:hover, .mbtlist .itotal a:hover  {color:#333; text-decoration:none;}
    .mbtlist .iedit a{text-decoration:none; color:#999; cursor:pointer}
    .mbtlist .iedit:before, .mbtlist .iauthor:before, .mbtlist .itag:before, .mbtlist .icomments:before, .mbtlist .idate:before, .mbtlist .itotal span:before{font-family:fontAwesome; position:relative; padding-right:8px; color:#999;}
    .mbtlist .iauthorpic{width: 17px;height: 17px;border-radius: 50%;
    float: none; display: inline-block; margin:0px 0px 0px 0px; padding-right:3px; position:relative; top:3px;}
    .mbtlist .itag{    color: #fff;position: absolute;left: 9px;top: 9px;display: inline-block;font-size: 11px;width: 100px; height:22px;    overflow: hidden;}
    .mbtlist .itag a{background:#000;background:rgba(0,0,0,0.7);text-decoration:none;color:#fff;padding:4px 5px;text-transform:capitalize;line-height: 2em;font-family: arial;font-size: 11px;border:1px solid #333;}
    .mbtlist .itag a:hover{background:#84DB06;border: 1px solid #84DB06; color:#fff; text-decoration:none;}
    .mbtlist .iFeatured{overflow:hidden;position:relative;float:left;margin:0 10px 10px 0;padding:0;}
    .mbtlist .iFeatured a {background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuN8hyVhT3Mn_PCpHH_vB4HOO6majshl0aWHXKzeVKC0Z-zPJOO4sxNQECo30usu8lOImIYyOHIx3SqsczA8UpkZkXzZNHVgBxpD1Q9nYMHotTIm3JFo2pYFuOn7-Q1KkYctHxOfXx5Es/s100/mbt-bg1.png) 0 0;padding:6px 5px 4px 6px;display: block;}
    .mbtlist .iFeatured img{width:100px;height:60px;-moz-transition:all .3s;-webkit-transition:all .3s;transition:all .3s;    border: 1px solid #ddd;       border-radius: 2px;}
    .mbtlist .iFeatured:hover img{ opacity:1; -moz-transform:scale(1.4);-webkit-transform:scale(1.4);transform:scale(1.4)}
    .mbtlist .icomments a{color:#0080ff; font-family: arial;font-size:12px;}
    .mbtlist .icomments a:hover{text-decoration:underline}
    .mbtlist .icomments:before {content:'\f086'; padding:0px 3px 0px 7px; color:#84DB06;}
    .mbtlist .idate:before {content:'\f073';padding-right:4px}
    .mbtlist .iedit:before {content:'\f040';}
    .mbtlist .imore {font-size:16px; font-weight:bold; text-decoration:none; color:#666;}
    .mbtlist .itotal {color:#999;  padding:5px 0px; }
    .mbtlist .itotal a {font-family:"Droid Sans"; font-size:12px; font-weight:normal; color:#999; text-decoration:none}
    .mbtlist .itotal span:before {content:'\f07c';}
    .mbtlist .itotal span font {padding:0px 3px; color:#333; font-family:droid sans; font-size:15px; font-weight:bold}

  6. Save your template.
  7. Now go to Blogger > Layout
  8. Select "Add a Gadget"
  9. Choose "HTML/JavaScript" gadget
  10. Paste the following code inside it:

    <script type='text/javaScript'>
    //#################### Defaults
    var ListBlogLink = "http://mybloggertricks.com";
    var ListCount = 3;
    var ChrCount = 85;
    var TitleCount = 70;
    var ImageSize = 150;
    var showcomments = "on";
    var showdate = "off";
    var showauthor = "on";
    var showthumbnail = "on";
    var showlabel = "on";
    var showcontent = "off";

    var RandomArray = [];
    var TotalPosts  = 0;
    var RandomArray = new Array(ListCount);

    function TotalCount(json) {
        TotalPosts   = json.feed.openSearch$totalResults.$t
    }
    document.write('<script type=\"text/javascript\" src=\"http://www.mybloggertricks.com/feeds/posts/default?alt=json-in-script&callback=TotalCount\"><\/script>');

    function GenerateNum() {
        for (var i = 0; i < ListCount ; i++) {
        for (var j = 0; j < RandomArray.length; j++){
        var RandomNum = Math.floor(Math.random() * (TotalPosts ) + 1);
        RandomArray[i] = RandomNum; }
                                                                      }
    }
    </script>
    <script type='text/javaScript'>

    document.write('<ul class="mbtlist">');
    //################ Function Start
    function mbtrandom(json) {
    for (var i = 0; i < ListCount; i++)
    {
      
    //################### Variables Declared
    var listing= ListImage = ListUrl = ListTitle = ListImage = ListContent = ListConten = ListAuthor = ListTag = ListDate = ListUpdate = ListComments = thumbUrl = TotalPosts = sk = AuthorPic= ListMonth = Y = D = M = m = YY = DD = MM = mm = TT =  "";

    //################### Category
    if (json.feed.entry[i].category != null)
    {
    for (var k = 0; k < json.feed.entry[i].category.length; k++) {
    ListTag += "<a href='"+ListBlogLink+"/search/label/"+json.feed.entry[i].category[k].term+"'>"+json.feed.entry[i].category[k].term+"</a>";
    if(k < json.feed.entry[i].category.length-1)
    { ListTag += " ";}
    }
    }

    //################### URL
    for (var j = 0; j < json.feed.entry[i].link.length; j++) {
          if (json.feed.entry[i].link[j].rel == 'alternate') {
            break;
          }
        }
    ListUrl= "'" + json.feed.entry[i].link[j].href + "'";

    //################### Info
    TotalPosts = json.feed.openSearch$totalResults.$t;
    if (json.feed.entry[i].title!= null)
    {
    ListTitle= json.feed.entry[i].title.$t.substr(0, TitleCount);
    }
    if (json.feed.entry[i].thr$total)
    {
    ListComments= "<a href='"+json.feed.entry[i].link[j].href+"#comment-form'>"+json.feed.entry[i].thr$total.$t+"</a>";
    }
    ListAuthor= json.feed.entry[i].author[0].name.$t.split(" ");
    ListAuthor=ListAuthor.slice(0, 1).join(" ");

    AuthorPic = json.feed.entry[i].author[0].gd$image.src;
    //################### Content Check

    ListConten = json.feed.entry[i].content.$t;
    ListContent= ListConten.replace(/(<([^>]+)>)/ig,"").substring(0, ChrCount);

    //################### Date Format

    ListMonth= ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];

    ListDate= json.feed.entry[i].published.$t.substring(0,10);

                             Y = ListDate.substring(0, 4);
                            m = ListDate.substring(5, 7);
                             D = ListDate.substring(8, 10);
                             M = ListMonth[parseInt(m - 1)];                       

    ListUpdate= json.feed.entry[i].updated.$t.substring(0, 16);

                             YY = ListUpdate.substring(0, 4);
                            mm = ListUpdate.substring(5, 7);
                             DD = ListUpdate.substring(8, 10);
                             TT = ListUpdate.substring(11, 16);
                             MM = ListMonth[parseInt(mm - 1)];   

    //################### Thumbnail Check
    // YouTube scan

    if (json.feed.entry[i].content.$t.match(/youtube\.com.*(\?v=|\/embed\/)(.{11})/) != null)
    {

        var youtube_id = json.feed.entry[i].content.$t.match(/youtube\.com.*(\?v=|\/embed\/)(.{11})/).pop();
       
        if (youtube_id.length == 11) {
            var ListImage = "'//img.youtube.com/vi/"+youtube_id+"/0.jpg'";
            }
    }

    else if (json.feed.entry[i].media$thumbnail)
    {
    thumbUrl = json.feed.entry[i].media$thumbnail.url;
    sk= thumbUrl.replace("/s72-c/","/s"+ImageSize+"/");
    ListImage= "'" + sk.replace("?imgmax=800","") + "'";
    }

    else if (json.feed.entry[i].content.$t.match(/src=(.+?[\.jpg|\.gif|\.png]")/) != null)
    {
    // Support For 3rd Party Images
    ListImage =  json.feed.entry[i].content.$t.match(/src=(.+?[\.jpg|\.gif|\.png]")/)[1];
    }
    else
    {
    ListImage= "'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRS8JlNqJynK19QFPAfjfEF2iNoqGX0_goRZLVHf6QEZio8WEN7NBFxcZ4uUjdqN1_xc21qqxcP3ahJ4LPYczMMuh6dibtZHA3GcKUrrrd8tTraE98gUXZLrzJ1ptr_suFT-6sGP2wqOs/s200/Icon.png'";
    }
    //################### Printing List

    document.write( "<li style='margin:0px auto 10px auto!important; padding:0px!important;' class='node"+[i]+"' >");
    if (showthumbnail == 'on'){
    document.write("<div class='iFeatured'><a  href="
    + ListUrl+
      "><img src="
    +ListImage+
    "/></a></div>");
    }

    if (showlabel == 'on'){
    document.write("<span class='itag'>"
    +ListTag +
    "</span>");
    }

    document.write("<a class='mbttitle' href="
    + ListUrl+
    ">"
    + ListTitle+
    "</a><div class='iline'>");

    if (showauthor == 'on'){
    document.write("<span class='iauthor'><img class='iauthorpic' src='"+AuthorPic+"'/>"
    +ListAuthor+
    "</span>");
    }
    if (showcomments == 'on'){
    document.write("<span class='icomments'>"
    +ListComments +
    "</span> ");
    }

    if (showdate == 'on'){
    document.write("<span class='idate'>"
    + M +
    " "
    + D +
    "</span>");
    }


    document.write("</div>");

    if (showcontent == 'on'){
    document.write("<div class='icontent'>"
    +ListContent +
    "...</div> ");
    }
    document.write("</li>");

    }
    document.write("<div class='itotal'><span> <a href='"+ListBlogLink+"'>View all <font>"+TotalPosts+"</font> posts in  -  "+ListLabel+" </a></span></div>");
    }

    <!-- ######### Invoking the Callback Function ######## -->
    for (var i = 0; i < ListCount ; i++) {
    GenerateNum();

        document.write('<script type=\"text/javascript\" src=\"http://www.mybloggertricks.com/feeds/posts/default?alt=json-in-script&start-index=' + RandomArray[i] + '&max-results=1&callback=mbtrandom\"><\/script>')
    };
    document.write('</ul>');
    </script>

  11. You can easily choose to show or hide an option using on/off Boolean values. Simple make these settings:
    • Replace http://mybloggertricks.com with your Blog URL. It appears thrice.
    • Mention number of posts to display in ListCount = 3;
    • Edit ChrCount = 90; to choose how many characters you wish to display in post description.
    • Edit TitleCount = 70; to choose post title length.
    • You can control the resolution or aspect ratio of thumbnails by editing ImageSize = 150; where the value 150 means that you want your images to be within 150 x 150 pixels in size. Make sure to keep this value close to the image size to ensure website load time is not effected a lot. Since our thumbnail images have a width of about 100px, therefore I have kept the resolution as 150, slightly higher to display images in slightly good resolution.
    • To show an element simply choose on and to hide it choose off. You apply these switch on/off values to these 6 variables: showcomments, showdate, showauthor, showthumbnail, showlabel, showcontent
  12. Click Save and you are all done!

Visit your blog to see a random post widget exactly like the one below:

Random Posts Widget For Blogger

Customize Random Posts Widget

By simply changing on/off values you can change the entire layout of the random posts gadget. Let me show you some examples:

1 Switching off showcontent and showdate will produce this look:

Random Posts Widget For Blogspot

2 Switching off showcontent, showlabel and showcomments will produce this look:

Random Posts Gadget For Blogspot

3 Switching off showcontent, showthumbnail, showcomments and showlabel will produce this look:

Blogger Random Posts Widget

4 Switching off showthumbnail and showlabel will produce this look:

Simple List of Random Posts in Blogger

5 Switching everything on will produce this layout:

Random Posts Widget with Content

6 Each "li" tag has its own class (such as .node0, .node1, .node2, etc.) that you can use to customize the look and appearance of each list. By changing these styles you can display recent posts in several interesting layouts such as:

Vertical List of Random Posts With Large Thumbnail at Top:

Vertical List of Random Posts Gadget With Animated Thumbnails

Horizontal List of Random Posts With Large Side Thumbnail:

Horizontal List of Random Posts Widget With Thumbnails

This is the exact same technique that I used to design COPmo template.

Coming Next: Random Posts Slider!

I hope you may find the above widget useful and unique. In our coming tutorials our focus will be to display random posts inside a vertical or horizontal flexslider. Let me know if you need any help or assistance. Peace buddies =)