What is Sitemap:
Sitemap Tree LogoA site map is a single web document that contains all the pages of the website that can be used by the search engines like google, yahoo, bing to crawl the web pages. The Sitemaps very useful to inform the list of available urls in a website are ready to crawling by the search engines. It is also useful to the users to know current directory of websites. Sitemaps typically lists the web pages in hierarchical order.

Site map can be in .xml, html, php formats.

How to Create Full XML Sitemap for Blogger:

By default every blog that contains a sitemap that can be crawl by the google and other search  engines.

For example click the following link to get my blog's full site map,
This is a default xml site map generate by the google. But most of the user they doesn't know about it.

If you want to know your blog's site map follow these steps,

In browser address bar, type your blogger domain name and add "/sitemap.xml".

Example: www.yourblogname.blogspot.com/sitemap.xml

That's it. You have created site map for your blog. Just link this sitemap to any place in your blogger to crawl web search engines. In my blog i have linked to bottom of this page. Feel free see this too..

How to Create HTML Sitemap for Specific Blogger Label:

Login your blogger account and goto "dashboard"

Click "Pages" from left menu -> "New Page" button

New page creation window will open,  click "HTML" to get html page editor.

Blogger Pages Screen

Then copy and paste below code in that page

<script type="text/javascript">
var totalposts = 200;
var standardstyling = true;
function showrecentposts(json) {
for (var a = 0; a < totalposts; a++) {
var entry = json.feed.entry[a];
var posttitle = entry.title.$t;
var posturl;
if (a == json.feed.entry.length) break;
for (var b = 0; b < entry.link.length; b++) {
if (entry.link[b].rel == 'alternate') {
posturl = entry.link[b].href;
break;
}}
posttitle = posttitle.link(posturl);
if (standardstyling) document.write('<li>');
document.write(posttitle);}
if (standardstyling) document.write('</li>');
}
</script> 
<ul>
<h3>Blogger</h3>
<script src="http://www.dinewallpapers.blogspot.com/feeds/posts/default/-/Blogger?orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts&amp;max-results=999"></script>
</ul>



Just replace the highlighted text to get your sitemap.
Example: 
  • dinewallpapers -> your blog name 
  • Blogger Tricks -> Your page title
  • Blogger -> Specific Label
Before making specific label sitemaps make-sure whether the links are working or not. for example, i want to create blogger page site map, i have checked with following link.

If your blogger label separated with two sentences like "blogger tips" then the link will "blogger%20tips"Add %20 to space. thats it..

This tutorial helps you to know how to create a specific labels xml & html sitemap for blogger blog. I hope you might like this trick to get specific labels site map for blogger blog. If you have any suggestions or question please leave your comment.


1 comments:

 
Dine Tricks © 2014. All Rights Reserved. Powered by Blogger
Top