In this post, I will explain how to add related posts/related articles on your blogger/blogspot blog based on labels. It will be just easy.
1. Follow this guide on How To Edit Your Blog Template
2. Find(CTRL+F) </head>
3. Replace it with these codes below
<!-- RELATED POSTS -->
<b:if cond='data:blog.pageType == "item"'>
<script type='text/javascript'>
var relatedpoststitle="TITLE";
</script>
<script src='http://blogergadgets.googlecode.com/files/related.js' type='text/javascript'/>
</b:if>
<!-- RELATED POSTS -->
</head>
<b:if cond='data:blog.pageType == "item"'>
<script type='text/javascript'>
var relatedpoststitle="TITLE";
</script>
<script src='http://blogergadgets.googlecode.com/files/related.js' type='text/javascript'/>
</b:if>
<!-- RELATED POSTS -->
</head>
TITLE: change it to your desired title (ex. Related Posts or Recommended Posts)
4. Find(CTRL+F) <data:post.body/>
5. Add these codes BELOW <data:post.body/>
<!-- RELATED POSTS -->
<div id='related-posts'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast != "true"'>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=related_results_labels&max-results=5"' type='text/javascript'/>
</b:if>
</b:loop>
<script type='text/javascript'>
var currentposturl="<data:post.url/>";
var maxresults=NUMBER_OF_RESULTS;
removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
<!-- RELATED POSTS -->
<div id='related-posts'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast != "true"'>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=related_results_labels&max-results=5"' type='text/javascript'/>
</b:if>
</b:loop>
<script type='text/javascript'>
var currentposturl="<data:post.url/>";
var maxresults=NUMBER_OF_RESULTS;
removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
<!-- RELATED POSTS -->
NUMBER_OF_RESULTS: Change it to the number of results you want to appear (any number, though I recommend to set it to 5)
6. Click Save Template.