Header Ads

How to Create a Sitemap [Table Of Contents Page] For Blogger

Sitemap is a page on your blog where all posts are arranged in accordance to their type, and it shows the links to all posts published on your blog so far. Creating sitemap (which can also be referred as Table of Content) is one of the important things you need to add or have on your blog/website, to make it look standard, professional, and it helps your blog visitors and readers to navigate through your blog post.


In this post, you will get a script/html code that saves time and helps to update all new posts made on your blog to your sitemap (Table of Contents) page automatically. This script/html code when followed well, will display all posts made on your blog under their specified Labels (categories). This widget also comes with a CSS & Jquery to make it attractive, though you may wish to change it to your test if you are good on html coding.

Below are the Steps to Add Automatic Sitemap (Table of Contents) to your blog:
Step 1. (i) Add the CSS/html code below to your template.
You can do this by going to Blogger >>> Navigate to Template, use (CTRL+F) to search/find  ]]></b:skin> in your template and paste the CSS/html code below before ]]></b:skin> tag.

/*--------Emmyworldwide TOC-----*/
.judul-label{
background-color:#E5ECF9;
font-weight:bold;
line-height:1.4em;
margin-bottom:5px;
overflow:hidden;
white-space:nowrap;
vertical-align: baseline;
margin: 0 2px;
outline: none;
cursor: pointer;
text-decoration: none;
font: 14px/100% Arial, Helvetica, sans-serif;
padding: .5em 2em .55em;
text-shadow: 0 1px 1px rgba(0,0,0,.3);
-webkit-border-radius: .5em;
-moz-border-radius: .5em;
border-radius: .5em;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 1px 1px 4px #AAAAAA;
box-shadow: 0 1px 2px rgba(0,0,0,.2);
color: #e9e9e9;
border: 2px solid white !important;
background: #6e6e6e;
background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#575757));
background: -moz-linear-gradient(top,  #888,  #575757);
filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#888888', endColorstr='#575757');
}
.data-list{
line-height:1.5em;
margin-left:5px;
margin-right:5px;
padding-left:15px;
padding-right:5px;
white-space:nowrap;
text-align:left;
font-family:"Arial",sans-serif;
font-size:12px;
}
.list-ganjil{
background-color:#F6F6F6;
}
.headactive{
    color: #fef4e9;
    border: 2px solid white !important;
    background: #1C8DFF;
    background: -webkit-gradient(linear, left top, left bottom, from(#9dc2e7), to(#438cd2));
    background: -moz-linear-gradient(top,  #9dc2e7,  #438cd2);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#9dc2e7', endColorstr='#438cd2');
}




(ii) Save your Template after inserting the CSS/html code above

Step 2. (i) Create a Page: Now to create a new page, go to Blogger >>> Click on Pages >>> Click New Page. Now give the page a title such as “Table of Contents” “Site Maps” or any title you wish.

(ii) Click HTML button on the compose mode screen, now paste the code below in it.

<script src="http://olusegun-fapohunda-calculator.googlecode.com/svn/Emmyworldwide-tos-file.js"></script>
<script src="https://www.entertainmentinfotech.com/feeds/posts/summary?max-results=1000&amp;alt=json-in-script&amp;callback=loadtoc"></script>
<script type="text/javascript">
var accToc=true;
</script>
<script src="http://olusegun-fapohunda-calculator.googlecode.com/svn/concordian-tos.js" type="text/javascript"></script>

(iii) Now change https://www.entertainmentinfotech.com/ to your own blog URL and then click Publish to publish the page.

(iv) Visit your blog homepage, click on the page link to view your awesome blog sitemap (Table of Contents). You will see all post published both new and old there.

That all…..

 
If you encounter any difficulties in the process of setting up your blog Sitemap, don’t hesitate to use the comment box below.

No comments

Powered by Blogger.