Tuesday, April 12, 2011

ബ്ലോഗില്‍ related post link എങ്ങനെ ആഡ് ചെയാം



related post link ഉപയോഗിക്കുകയാണെങ്കില്‍ നമ്മുടെ ബ്ലോഗിന്റെ പേജ് വ്യൂ കൂടുവാന്‍ കഴിയും .നമ്മുടെ ബ്ലോഗില്‍ വിസിറ്റ് ചെയുന്നവര്‍ എന്തായാലും ഇത് കാണുകയും ,നല്ലതാണെങ്കില്‍ ആ പേജ് വായിക്കുകയും ചെയും .

ധാരാളം related post link കോഡുകള്‍ നമ്മള്‍ ഉപയോഗിക്കാറുണ്ട് .ചിലതില്‍ thumb ഇമേജ് കാണിക്കും ,ചിലതില്‍ പേജിന്‍െ ഹെഡിംഗ് മാത്രം കാണിക്കും .

താഴെ പറയുന്ന കോഡ് വളരെ വേഗം ലോഡ് ആകുന്നതാണ് .

ഈ കോഡില്‍ നമ്മുടെ ബ്ലോഗിന്റെ ലോഗോയും ചെര്‍ക്കാവുന്നതനാണ് .

എങ്ങനെ ഇവ ബ്ലോഗില്‍ ചേര്‍ക്കാം

1.താഴെ പറയുന്ന കോഡ് </head> എന്നതിന് മുകളില്‍ പേസ്റ്റ് ചെയുക

<style>#related-posts {float:left; width : 475px; margin-top:20px; margin-left : 5px; margin-bottom:20px; font : 14px Verdana; margin-bottom:10px; } #related-posts .widget { list-style-type : none; margin : 5px 0 5px 0; padding : 0; } #related-posts .widget h2, #related-posts h2 { font-size : 14px; font-weight : normal; margin : 5px 7px 0; padding : 0 0 5px; } #related-posts a { text-decoration : none; } #related-posts a:hover { text-decoration : none; } #related-posts ul { border : medium none; margin : 10px; padding : 0; } #related-posts ul li { display : block; background : url("http://1.bp.blogspot.com/-vcbCme7rMTw/TZEU-rnpibI/AAAAAAAAAiE/YtY9ovqoTOw/s1600/redlogoo.png") no-repeat 0 0; margin : 0; padding-top : 0; padding-right : 0; padding-bottom : 1px; padding-left : 21px; margin-bottom : 5px; line-height : 2em; border-bottom:1px dotted #333; } </style>
<script src='http://chocodot.googlecode.com/files/related_posts.js' type='text/javascript'/>

2.ഇതിനു ശേഷം താഴെ പറയുന്ന കോഡ്

<div class='post-footer-line post-footer-line-1'> എന്നതിന്റെയോ അല്ലെങ്കില്‍

<data:post.body/>

ഇതിന്റെയോ താഴെ പേസ്റ്റ് ചെയുക

<b:if cond='data:blog.pageType == "item"'>
<div id='related-posts'>
<font face='Arial' size='3'><b>Related Posts : </b></font><font color='#FFFFFF'><b:loop values='data:post.labels' var='label'><data:label.name/><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=9"' type='text/javascript'/></b:if></b:loop> </font>
<script type='text/javascript'> removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>

ഉദാഹരണത്തിന്

നമ്മുടെ ആദ്യത്തെ കോഡ് ഇങ്ങനിരിക്കും


<style>#related-posts {float:left; width : 475px; margin-top:20px; margin-left : 5px; margin-bottom:20px; font : 14px Verdana; margin-bottom:10px; } #related-posts .widget { list-style-type : none; margin : 5px 0 5px 0; padding : 0; } #related-posts .widget h2, #related-posts h2 { font-size : 14px; font-weight : normal; margin : 5px 7px 0; padding : 0 0 5px; } #related-posts a { text-decoration : none; } #related-posts a:hover { text-decoration : none; } #related-posts ul { border : medium none; margin : 10px; padding : 0; } #related-posts ul li { display : block; background : url("http://1.bp.blogspot.com/-vcbCme7rMTw/TZEU-rnpibI/AAAAAAAAAiE/YtY9ovqoTOw/s1600/redlogoo.png") no-repeat 0 0; margin : 0; padding-top : 0; padding-right : 0; padding-bottom : 1px; padding-left : 21px; margin-bottom : 5px; line-height : 2em; border-bottom:1px dotted #333; } </style>
<script src='http://chocodot.googlecode.com/files/related_posts.js' type='text/javascript'/>
</head>

റെഡ് നിറത്തില്‍ കാണിച്ചിരിക്കുന്നത് നിങ്ങളുടെ ലോഗോയുടെ url അഡ്രസ്‌

2.

<div class='post-footer-line post-footer-line-1'>
<b:if cond='data:blog.pageType == "item"'>
<div id='related-posts'>
<font face='Arial' size='3'><b>Related Posts : </b></font><font color='#FFFFFF'><b:loop values='data:post.labels' var='label'><data:label.name/><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=9"' type='text/javascript'/></b:if></b:loop> </font>
<script type='text/javascript'> removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>

കൂടുതല്‍ വിവരങ്ങള്‍ക്ക് വേണ്ടി


വിസിറ്റ്

Link

2 Responses so far.

  1. Unknown says:

    ഈ സൂത്രം ശ്രമിച്ചു നോക്കി നടക്കുന്നില്ല !എന്തുചെയ്യും ?

  2. computermint says:

    onnu koodi cheythu noku

Leave a Reply

 
 

Link List

Recent Comments

Followers