Heya Folk!! Today in this article i've got something nice for bloggers who have good contents on their sites but don't have a sitemap yet. This article will surely help you out to get started with a sitemap on site also it helps improve search engine ranking. Many of the bloggers don't have sitemaps just because they don't know how to add it to their site or blog but the fact is it's quite easy though (i was one of those who didn't even know what a sitemap was) having a sitemap definetely give the users a nice way to navigate through your blog or site so let's find out how to add a nice sitemap then
How to add tabbed sitemap to blogger
Step 1:
First of all get this code and copy it
/*Sitemap Trick By htt://funcki.cf/
----------------------------------------------- */
#tabbed-sitemap {
width:99%;
margin:0 auto;
background-color:#111;
-webkit-box-shadow:0 1px 3px rgba(0,0,0,.4);
-moz-box-shadow:0 1px 3px rgba(0,0,0,.4);
box-shadow:0 1px 3px rgba(0,0,0,.4);
overflow:hidden;
position:relative;
color:#333
}
#tabbed-sitemap .loading {
display:block;
padding:5px 10px;
font:normal bold 10px Arial,Sans-Serif;
color:#FFF
}
#tabbed-sitemap ul,#tabbed-sitemap ol,#tabbed-sitemap li {
margin:0;
padding:0;
list-style:none
}
#tabbed-sitemap .toc-tabs {
width:20%;
float:left
}
#tabbed-sitemap .toc-tabs li a {
display:block;
font:normal bold 10px/28px Arial,Sans-Serif;
height:28px;
overflow:hidden;
text-overflow:ellipsis;
color:#ccc;
text-transform:uppercase;
text-decoration:none;
padding:0 12px;
cursor:pointer
}
#tabbed-sitemap .toc-tabs li a:hover {
background-color:#444;
color:#FFF
}
#tabbed-sitemap .toc-tabs li a.active-tab {
background-color:#ff9900;
color:#FFF;
-webkit-box-shadow:-2px 2px 2px rgba(0,0,0,.5);
-moz-box-shadow:-2px 2px 2px rgba(0,0,0,.5);
box-shadow:-2px 2px 2px rgba(0,0,0,.5);
position:relative;
z-index:5;
margin:0 -1px 0 0
/* cursor:text;
*/
}
/*Sitemap Trick By htt://funcki.cf/
----------------------------------------------- */
#tabbed-sitemap .toc-content,#tabbed-sitemap .divider-layer {
width:80%;
float:right;
background-color:#FFF;
border-left:5px solid #ff9900;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box
}
#tabbed-sitemap .divider-layer {
float:none;
display:block;
position:absolute;
top:0;
right:0;
bottom:0;
-webkit-box-shadow:0 0 7px rgba(0,0,0,.7);
-moz-box-shadow:0 0 7px rgba(0,0,0,.7);
box-shadow:0 0 7px rgba(0,0,0,.7)
}
#tabbed-sitemap .panel {
position:relative;
z-index:5;
font:normal normal 10px Arial,Sans-Serif
}
#tabbed-sitemap .panel li a {
display:block;
position:relative;
font-weight:700;
font-size:11px;
color:#333;
line-height:30px;
height:30px;
padding:0 12px;
text-decoration:none;
outline:none;
overflow:hidden
}
#tabbed-sitemap .panel li time {
display:block;
font-style:italic;
font-weight:400;
font-size:10px;
color:#666;
float:right
}
#tabbed-sitemap .panel li .summary {
display:block;
padding:10px 12px;
font-style:italic;
border-bottom:4px solid #275827;
overflow:hidden
}
#tabbed-sitemap .panel li .summary img.thumbnail {
float:left;
display:block;
margin:0 8px 0 0;
padding:4px;
width:72px;
height:72px;
border:1px solid #dcdcdc;
background-color:#fafafa
}
#tabbed-sitemap .panel li:nth-child(even) {
background-color:#f1f1f1;
font-size:10px;
color:#fff
}
#tabbed-sitemap .panel li a:hover,#tabbed-sitemap .panel li a:focus,#tabbed-sitemap .panel li a:hover time,#tabbed-sitemap .panel li.bold a {
background-color:#333;
color:#FFF;
outline:none
}
#tabbed-sitemap .panel li.bold a:hover,#tabbed-sitemap .panel li.bold a:hover time {
background-color:#222
}
@media (max-width:700px) {
#tabbed-sitemap {
background-color:#fff;
border:0 solid #888
}
#tabbed-sitemap .toc-tabs,#tabbed-sitemap .toc-content {
overflow:hidden;
width:auto;
float:none;
display:block
}
#tabbed-sitemap .toc-tabs li {
display:inline;
float:left
}
#tabbed-sitemap .toc-tabs li a,#tabbed-sitemap .toc-tabs li a.active-tab {
background-color:#111;
color:#ccc;
-webkit-box-shadow:2px 0 7px rgba(0,0,0,.4);
-moz-box-shadow:2px 0 7px rgba(0,0,0,.4);
box-shadow:2px 0 7px rgba(0,0,0,.4)
}
#tabbed-sitemap .toc-tabs li a.active-tab {
background-color:#DF1010;
color:#fff
}
#tabbed-sitemap .toc-content {
border:none
}
#tabbed-sitemap .divider-layer,#tabbed-sitemap .panel li time {
display:none
}
}
Now add this code inside the head and in the style section (i.e <head> <style> Code Here </style></head> )Step 2:
Now add this code on the page where you want the sitemap to appear
<div id="tabbed-toc"> <span class="loading">Loading...</span></div> <script type="text/javascript"> var tabbedTOC = { blogUrl: "http://funcki.blogspot.com/", // Blog URL containerId: "tabbed-toc", // Container ID activeTab: 1, // The default active tab index (default: the first tab) showDates: false, // `true` to show the post date showSummaries: false, // `true` to show the posts summaries numChars: 200, // Number of summary chars showThumbnails: false, // `true` to show the posts thumbnails (Not recommended) thumbSize: 40, // Thumbnail size noThumb: "http://3.bp.blogspot.com/-vpCFysMEZys/UOEhSGjkfnI/AAAAAAAAFwY/h1wuA5kfEhg/s72-c/grey.png", // A "no thumbnail" URL monthNames: [ // Array of month names "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ], newTabLink: true, // Open link in new window? maxResults: 99999, // Maximum post results preload: 0, // Load the feed after 0 seconds (option => time in milliseconds || "onload") sortAlphabetically: true, // `false` to sort posts by published date showNew: 7, // `false` to hide the "New!" mark in most recent posts, or define how many recent posts are to be marked newText: " - <em style='color:red;'>New!</em>" // HTML for the "New!" text }; </script> <script src="https://googledrive.com/host/0B2H3MJwpj5ZVNkJwaVF3SEV4cjg/tabbed-toc.js" type="text/javascript"></script>
Done !! that's it you have added a functional sitemap to blogger you can now submit it to google for improved ranking and also users will have a nicer interference to navigate through your blog
Hope you liked this trick and will not forget to share this article with friends... :)

Post a Comment