2. Click on "Expand Widget Templates"
3. Scroll down to where you see this:
4. Now replace above code with below code.
<div expr:id='"summary" + data:post.id'/> <script type='text/javascript'> var blogID = "5375156378107831274"; function retriveSummaryPost<data:post.id/>(json){document.getElementById("summary<data:post.id/>").innerHTML = json.entry.summary.$t + "..."}
function createSummaryPost<data:post.id/>(POSTID){ var script =
document.createElement("script"); script.src = "http://www.blogger.com/feeds/"+blogID+"/posts/summary/"+POSTID+"?alt=json-in-script&callback=retriveSummaryPost<data:post.id/>"; script.type = "text/javascript"; document.getElementsByTagName('head')[0].appendChild(script); } </script> <script type='text/javascript'> createSummaryPost<data:post.id/>("<data:post.id/>"); </script> <span class='rmlink' style='float:right'><a expr:href='data:post.url'>-->d?c ti?p...</a></span> </b:if> <b:if cond='data:blog.pageType == "item"'> <div id='post_body'><data:post.body/></div> </b:if> |
NOTE : You Must Replace 5375156378107831274 with your real blog ID.
5. Now save your template and you are done.
No comments:
Post a Comment