Automatic Post Summaries for Blogger with Thumbnails

Monday, June 11, 2012 0 comments

Wordpress users might have seen the Wordpress excerpt thing, which displays a summary of your post. Now we have something similar for blogger.Actually i should say it is really amazing..This hack will automatically create post summaries with thumbnails.. you needn't need to add any extra code in every BlogSpot that you make..These summaries will be displayed on all pages other than the post page..Here in my blog i am using a modified version of the same which displays summaries on pages other than the post page and homepage.Check out some of my labels to see the hack in action..

First of all, this hack was developed by Blogger Sphera . I will try to explain his hack to you guys..

First of all Edit your blogger template

Find this code


</head>

and replace it with

<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:blog.pageType != "static_page"'>
<script type='text/javascript'>
var thumbnail_mode = &quot;float&quot; ;
summary_noimg = 230;
summary_img = 140;
img_thumb_height = 100;
img_thumb_width = 100;
</script>
<script src='http://bloggergadgets.googlecode.com/files/excerpt_min.js' type='text/javascript'/>
</b:if>
</b:if>
</head>

Off course you can edit these parameters..


Now Find



<data:post.body/>

Replace it with





And you are done.. now you should have the post summaries on your homepage,search results,archive and label pages..



Update: 29/03/2012 : If this Script is not working on your blog anymore, please change http://blogergadgets.googlecode.com/files/excerpt.js  to http://bloggergadgets.googlecode.com/files/excerpt_min.js. Sorry for the trouble :-)


Source: http://www.bloggerplugins.org/2009/06/automatic-post-summaries-for-blogger.html
Share this article :

Post a Comment

 
Copyright © 2012. Blogger Tips For Beginners - All Rights Reserved
The information is compiled from various sources on the internet