Este widget vai mostrar os visitantes que mais comentaram no seu blog só que, ao invés de uma lista, aparecerá em forma de nuvem de tags.
Para colocá-lo em seu blog, copie o código abaixo e cole no widget Html/Java Script.
<!-- Top Commentators Cloud Start
(c) 2010 Blogger Sentral. Original code by http://www.bloggersentral.com/. Please do not remove this credit and the “Make your own” link at the bottom of the code.-->
<div style="text-align:justify;line-height:1.2;">
<script type="text/javascript">
function cCloud(feed) {
max = 0;
min = 10000;
//finding highest and lowest count
for (i=0;i<feed.count;i++)
{
ccCount = feed.value.items[i].commentcount * 1;
if (ccCount > max)
{
max = ccCount;
}
if (ccCount < min)
{
min = ccCount;
}
}
ccCountD = "";
display = "";
for (j=0;j<feed.count;j++)
{
ccdiff = feed.value.items[j].commentcount - min;
ccFontsize = 80 + (ccdiff * 100) / (max - min) + "%";
ccUrl = "'" + feed.value.items[j].authorurl + "'";
ccCountD = "(" + feed.value.items[j].commentcount + ")";//comment count
ccName = feed.value.items[j].title + ccCountD; ccLName = "<a style='font-size:" + ccFontsize + "' href=" + ccUrl + " target='_blank'>" + ccName + "</a>";//clickable commentator name
display = display + ccLName + " ";
}
document.write(display);
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?
YourBlogUrl= URL DO SEU BLOG
&Exclusions=Anonymous, SEU NOME DE USUÁRIO DO BLOGGER
&ShowHowMany= 10
&Order=ALPHABET
&_callback=cCloud
&_id=cfa196644e1d6159c9183548c4b5e2f5
&_render=json"
type="text/javascript"></script>
<span style="font-size: 80%; float:right;;margin-top:15px;"><a href="http://www.bloggersentral.com/2010/02/top-commentators-cloud-widget.html" target="_blank">Make your own</a></span>
</div>
<!-- Top Commentators Cloud End -->
Customizando o widget:
1. Remova o trecho em azul se você não deseja exibir o número de comentários.
Para colocá-lo em seu blog, copie o código abaixo e cole no widget Html/Java Script.
<!-- Top Commentators Cloud Start
(c) 2010 Blogger Sentral. Original code by http://www.bloggersentral.com/. Please do not remove this credit and the “Make your own” link at the bottom of the code.-->
<div style="text-align:justify;line-height:1.2;">
<script type="text/javascript">
function cCloud(feed) {
max = 0;
min = 10000;
//finding highest and lowest count
for (i=0;i<feed.count;i++)
{
ccCount = feed.value.items[i].commentcount * 1;
if (ccCount > max)
{
max = ccCount;
}
if (ccCount < min)
{
min = ccCount;
}
}
ccCountD = "";
display = "";
for (j=0;j<feed.count;j++)
{
ccdiff = feed.value.items[j].commentcount - min;
ccFontsize = 80 + (ccdiff * 100) / (max - min) + "%";
ccUrl = "'" + feed.value.items[j].authorurl + "'";
ccCountD = "(" + feed.value.items[j].commentcount + ")";//comment count
ccName = feed.value.items[j].title + ccCountD; ccLName = "<a style='font-size:" + ccFontsize + "' href=" + ccUrl + " target='_blank'>" + ccName + "</a>";//clickable commentator name
display = display + ccLName + " ";
}
document.write(display);
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?
YourBlogUrl= URL DO SEU BLOG
&Exclusions=Anonymous, SEU NOME DE USUÁRIO DO BLOGGER
&ShowHowMany= 10
&Order=ALPHABET
&_callback=cCloud
&_id=cfa196644e1d6159c9183548c4b5e2f5
&_render=json"
type="text/javascript"></script>
<span style="font-size: 80%; float:right;;margin-top:15px;"><a href="http://www.bloggersentral.com/2010/02/top-commentators-cloud-widget.html" target="_blank">Make your own</a></span>
</div>
<!-- Top Commentators Cloud End -->
Customizando o widget:
1. Remova o trecho em azul se você não deseja exibir o número de comentários.
2. You blog url, coloque a url de seu blog.
3. Anônimo, seu nome de usuário do blogger, aquele que aparece quando você comenta. é um comentador que não vai ser mostrado, no caso, você mesmo. Separe os nomes com uma virgula e não com espaço.
4. O número 10 é a quantidade de comentaristas que deseja exibir. Mude com a quantidade que quiser exibir.
5. Se quer mostrar os comentaristas por frequência e não por ordem alfabética, troque onde está escrito alphabet por frequency.
Muito legal seu blog, estou seguindo, tenho um blog de moda e queria alguns gifs, relacionado a isso, pode me ajudar?ficarei grata meu blog é http://anavidadeestilista.blogspot.com/ bejinhos sucesso no blog!!!!!
ResponderExcluirAna, obrigado por seguir meu blog.
ResponderExcluirClaro que posso te ajudar.
Vou colocar uns gifs de moda.
Também vou te seguir.
Sucessos para você.
Bjs.