Personalizar as estatísticas do Blogger- código 1

Views:
<b:widget id='Stats1' locked='false' title='Estatísticas' type='Stats'>
<b:includable id='main'>
<b:if cond='data:title'><h2><data:title/></h2></b:if>
<div class='widget-content'>
<ul>
<li>
<h4 id='Stats1_totalPosts'>&amp;hellip;</h4>
<span>Postagens</span>
</li>
<li id='totalComments'>
<h4 id='Stats1_totalComments'>&amp;hellip;</h4>
<span>Comentários</span>
</li> <li id='totalCount'>
<h4 expr:id='data:widget.instanceId + &quot;_totalCount&quot;'>&amp;hellip;</h4> <span>Visualizações</span>
</li>
</ul>
<script type='text/javascript'> //<![CDATA[ function  totalPosts(json){document.getElementById('Stats1_totalPosts').innerHTML=json.feed.openSearch$totalResults.$t};function   totalComments(json){document.getElementById('Stats1_totalComments')
.innerHTML=json.feed.openSearch$totalResults.$t};document.write('<script  type=\"text/javascript\"
src=\"/feeds/posts/default?alt=json-in-script&max-results=0&callback=totalPosts\">
<\/script>
<script  type=\"text/javascript\"  src=\"/feeds/comments/default?alt=json-in-script&max-results=0&callback=totalComments\">&lt\;/script>'); //]]>
</script>
</div>
</b:includable>
</b:widget>



Home Sobre mim Tutoriais Loja de templates Portfólio Fanpage