Type Here to Get Search Results !

HTML Sitemap Generator Code For Blogger

HTML Sitemap Generator For Blogger:

HTML Sitemap Generator For Blogger

Step-1:

Copy below code and paste into your blog sitemap page

Step-2:

Change URL given in the end of this code with your blog URL

<script type='text/javascript'>

 var postTitle = new Array();

 var postUrl = new Array();

 var postPublished = new Array();

 var postDate = new Array();

 var postLabels = new Array();

 var postRecent = new Array();

 var sortBy = "titleasc";

 var numberfeed = 0;

 function bloggersitemap(a) {

     function b() {

         if ("entry" in a.feed) {

             var d = a.feed.entry.length;

             numberfeed = d;

             ii = 0;

             for (var h = 0; h < d; h++) {

                 var n = a.feed.entry[h];

                 var e = n.title.$t;

                 var m = n.published.$t.substring(0, 10);

                 var j;

                 for (var g = 0; g < n.link.length; g++) {

                     if (n.link[g].rel == "alternate") {

                         j = n.link[g].href;

                         break

                     }

                 }

                 var o = "";

                 for (var g = 0; g < n.link.length; g++) {

                     if (n.link[g].rel == "enclosure") {

                         o = n.link[g].href;

                         break

                     }

                 }

                 var c = "";

                 if ("category" in n) {

                     for (var g = 0; g < n.category.length; g++) {

                         c = n.category[g].term;

                         var f = c.lastIndexOf(";");

                         if (f != -1) {

                             c = c.substring(0, f)

                         }

                         postLabels[ii] = c;

                         postTitle[ii] = e;

                         postDate[ii] = m;

                         postUrl[ii] = j;

                         postPublished[ii] = o;

                         if (h < 10) {

                             postRecent[ii] = true

                         } else {

                             postRecent[ii] = false

                         }

                         ii = ii + 1

                     }

                 }

             }

         }

     }

     b();

     sortBy = "titledesc";

     sortPosts(sortBy);

     sortlabel();

     displayToc();

 }

 function sortPosts(d) {

     function c(e, g) {

         var f = postTitle[e];

         postTitle[e] = postTitle[g];

         postTitle[g] = f;

         var f = postDate[e];

         postDate[e] = postDate[g];

         postDate[g] = f;

         var f = postUrl[e];

         postUrl[e] = postUrl[g];

         postUrl[g] = f;

         var f = postLabels[e];

         postLabels[e] = postLabels[g];

         postLabels[g] = f;

         var f = postPublished[e];

         postPublished[e] = postPublished[g];

         postPublished[g] = f;

         var f = postRecent[e];

         postRecent[e] = postRecent[g];

         postRecent[g] = f

     }

     for (var b = 0; b < postTitle.length - 1; b++) {

         for (var a = b + 1; a < postTitle.length; a++) {

             if (d == "titleasc") {

                 if (postTitle[b] > postTitle[a]) {

                     c(b, a)

                 }

             }

             if (d == "titledesc") {

                 if (postTitle[b] < postTitle[a]) {

                     c(b, a)

                 }

             }

             if (d == "dateoldest") {

                 if (postDate[b] > postDate[a]) {

                     c(b, a)

                 }

             }

             if (d == "datenewest") {

                 if (postDate[b] < postDate[a]) {

                     c(b, a)

                 }

             }

             if (d == "orderlabel") {

                 if (postLabels[b] > postLabels[a]) {

                     c(b, a)

                 }

             }

         }

     }

 }

 function sortlabel() {

     sortBy = "orderlabel";

     sortPosts(sortBy);

     var a = 0;

     var b = 0;

     while (b < postTitle.length) {

         temp1 = postLabels[b];

         firsti = a;

         do {

             a = a + 1

         } while (postLabels[a] == temp1);

         b = a;

         sortPosts2(firsti, a);

         if (b > postTitle.length) {

             break

         }

     }

 }

 function sortPosts2(d, c) {

     function e(f, h) {

         var g = postTitle[f];

         postTitle[f] = postTitle[h];

         postTitle[h] = g;

         var g = postDate[f];

         postDate[f] = postDate[h];

         postDate[h] = g;

         var g = postUrl[f];

         postUrl[f] = postUrl[h];

         postUrl[h] = g;

         var g = postLabels[f];

         postLabels[f] = postLabels[h];

         postLabels[h] = g;

         var g = postPublished[f];

         postPublished[f] = postPublished[h];

         postPublished[h] = g;

         var g = postRecent[f];

         postRecent[f] = postRecent[h];

         postRecent[h] = g

     }

     for (var b = d; b < c - 1; b++) {

         for (var a = b + 1; a < c; a++) {

             if (postTitle[b] > postTitle[a]) {

                 e(b, a)

             }

         }

     }

 }

 function displayToc() {

     var a = 0;

     var b = 0;

     while (b < postTitle.length) {

         temp1 = postLabels[b];

         document.write("");

         document.write('<div class="post-archive"><h4>' + temp1 + '</h4><div class="ct-columns">');

         firsti = a;

         do {

             document.write("<p>");

             document.write('<a " href="' + postUrl[a] + '">' + postTitle[a] + "");

             if (postRecent[a] == true) {

                 document.write(' - <strong><span>New!</span></strong>')

             }

             document.write("</a></p>");

             a = a + 1

         } while (postLabels[a] == temp1);

         b = a;

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

         sortPosts2(firsti, a);

         if (b > postTitle.length) {

             break

         }

     }

 }

 </script>

 <script src="https://www.yourblog.blogspot.com/feeds/posts/summary?alt=json-in-script&max-results=9999&callback=bloggersitemap" type="text/javascript"></script>


What is a HTML Sitemap?

What is a Sitemap Page?

Website spiders and other software need sitemaps to effectively index your blog articles.

You may increase your blog's crawl pace, as well as quickly classify your recent content. Earlier this year.

With HTML Sitemap Generator For Blogger, all of our blog articles are organised by label.

This is a crucial page for both SEO and AdSense approval, I should mention.

Page lists, or sitemaps, are lists of online pages. Users and search engines may browse a website using a site map. In the same way that a conventional geographical map helps people locate places in the real world, a site map is a visual or textually structured representation of a Web site's content that allows visitors to navigate across the site to find the information they are searching for

There are several ways to create a site map, including creating an interactive table of contents in which each entry is linked to an equivalent page on a website. Using a site map is similar to using layout maps in major retail malls to tour a complicated location.

Site maps are often arranged in a hierarchical manner, dividing the content on a Web site into increasingly detailed topic categories. Several sites feature user-accessible sitemaps that provide a hierarchical overview of the site. The purpose of these is to assist users locate specific pages, but crawlers can also use them. An alternative method is to create site maps that are alphabetically arranged (also known as site indexes).

An HTML file showing all the key pages on the site can be used as a site map intended for users. This tutorial is all about it.

What Is an HTML Sitemap?

As with any HTML page, an HTML sitemap may be seen by both search engine bots and web surfers alike The main objective of employing an HTML sitemap is to arrange all of your content so that your users can access them all from a one page. A HTML sitemap's purpose is to provide visitors with information about the website's content. All of the pages on the website are included in the sitemaps, including both main and sub-level pages. An HTML sitemap is a list of pages on a website that can be accessed by clicking on them. This article will teach you how to construct an HTML sitemap for your blogger blog.HTML Sitemap Generator For Blogger provide you best layouts to pick from your HTML sitemap.

What's the Difference Between HTML And XML Sitemaps? 

In order to improve the crawling rate of our blog posts, we send an XML Sitemap to the search engines. Sitemap in HTML format organises your published posts neatly on a page. HTML Sitemap Page For Blogger Blog is the focus of this tutorial. As we proceed, we'll examine a variety of styles.

HTML Sitemap Generator For Blogger Benefits:

Users benefit from sitemaps since they may look at them if they are having trouble finding a page on your site using the primary navigation. Using a sitemap might help you divide down a huge site into smaller sections by categories or alphabetically. Sitemaps assist your users discover information on your site, so developing one for your site is a great idea.


It is possible for search engines to crawl your sitemap and locate all of the different pages on your website by using it. Your site will be indexed, and some page ranks will be boosted as a result of its inclusion in the index.
{full_page}

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Top Post Ad

Below Post Ad

Hollywood Movies