How to Create Specific Label Sitemap Page For Blogger

Friends,
Today i am going to share How to add dynamic HTML site Label map for Blogger.  If you want to create sitemap page just follow below given simple steps.
How to Create Specific Label Sitemap Page For Blogger

Steps To create Sitemap Page
  • Open Your Blogger Dashboard >> Then open your blog    
  • Go to Pages tab >> Create blank page    
  • Switch To Edit HTML in page editor.   
  • Then copy and paste below code
<script type="text/javascript">
var numposts = 100;
var standardstyling = true;

function showrecentposts(json) {
for (var i = 0; i < numposts; i++) {
var entry = json.feed.entry[i];
var posttitle = entry.title.$t;
var posturl;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'alternate') {
posturl = entry.link[k].href;
break;
}}
posttitle = posttitle.link(posturl);
if (standardstyling) document.write('<li>');
document.write(posttitle);}
if (standardstyling) document.write('</li>');
}
</script>  

<ul>
<h3>Blogger Tricks and Tips </h3>
<script src="http://www.helpblogger.co.vu/feeds/posts/default/-/Blogger?orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts&amp;max-results=999"></script>
</ul> 


Replace 

Blogger Tricks tricks and Tips with title name you want

helpblogger.co.vu with your blog URL

Blogger with your label name whose post you want to add.

  • Make sure you and all the words same to your label, add them accurately according to uppercase or lowercase.
  • In case of two words in label add them in this format  Your%20Label.
  • If you want to add others labels also in the same page simple copy code from <ul> -- </ul> from bottom and replace label and and place them just below the above coding then two different label post will start appearing in same post.
  • Don't switch back to compose mode until you publish it.
banner
Previous Post
Next Post

0 comments: