This post very helpful those blogger who want add auto read more feature and I am sure that you like this post.
1.Log in your blogger account
2.Download Your Template
3.Go to Edit HTML > Choose Expand Widget Template
4.then Find the code
<data:post.body/>
5.Replace it by this whole code
<b:if cond='data:blog.pageType != "item"'>
<div expr:id='"summary" + data:post.id'/>
<script type='text/javascript'>
var blogID = "YOUR BLOG ID";
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'>-->Read more...</a></span>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<div id='post_body'><data:post.body/></div>
</b:if>
6.YOUR BLOG ID = Go to your blog Edit posts option then see in url box , It will look like this
http://www.blogger.com/posts.g?blogID=195421377415086077
Wednesday, January 6, 2010
Auto Read More Feature for blogger
Subscribe to:
Post Comments (Atom)
9 comments on "Auto Read More Feature for blogger"
This is DoFollow Blog Leave a Comment
HI
Nice work done by you,This is working in my blog(atoztestblog.blogspot.com) with small error is this will shrinks all my fonts in same width and height(post body and post lines).
Regards,
vijay
www.bayofblog.blogspot.com
@ vijay
Thank you Vijay for posting here comments.
Yes this script shrinks your font because this is auto read more .If you want your font not shrink kindly reply me I will here manual read more posting.
Ok please help me to get manual read more hack...
Thanx for your response,
Regards,
vijay
www.bayofblog.blogspot.com
@ vijay
Dont say thanks because its my duty check this post I am sure your like and dont forget post here comments.
http://www.latestbloggertricks.com/2010/01/interact-your-visitor-with-read-more.html
Im thanking you because of you helping me to improve my site that reflects your genuinity.
Download Full and Free Softwares - http://fullfree-softwares.blogspot.com
thank you
http://arslsoft.blogspot.com
Thank you for tutorial.
http://hot4news.blogspot.com/
ehmmm, help how to manage row? how many rows will show before 'read me' . TQ
Post a Comment