À semelhança de outros servidores, no Blogger também é possivel usar smiles nos comentários (e quem conhece o meu blog, sabe disso).
Para tal, e porque os smiles só podem ser vistos no corpo do blog e não nas janelas pop-up normalmente usadas, é necessário entrar no painel de configuração do blog, em Definições e depois em Comentários e marcar a opção Mensagem abaixo incorporada, como pode ser visto na imagem abaixo.
Depois disto entramos no código fonte do blog e depois de "Expandir modelos de widget" procuramos por:
<p class='comment-footer'>
seleccionamos esta parte toda:
<p class='comment-footer'>
e substituimos por:
<b:if cond='data:post.embedCommentForm'>
<b:include data='post' name='comment-form'/>
<b:else/>
<b:if cond='data:post.allowComments'>
<h3><a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a></h3>
</b:if>
</b:if>
</p>
</b:if>
<p class='comment-footer'>
<b:if cond='data:post.embedCommentForm'>
<div style='-moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 369; text-align: left; border: 1px solid #cccccc; padding: 5px; background: #eeeddf; height:86'>
<b>
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/21.gif' width='18'/> :))
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/71.gif' width='18'/> ;))
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/5.gif' width='18'/> ;;)
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/4.gif' width='18'/> :D
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/3.gif' width='18'/> ;)
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/10.gif' width='18'/> :p
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/20.gif' width='22'/> :((
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif' width='18'/> :)
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/2.gif' width='18'/> :(
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/8.gif' width='18'/> :X
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/12.gif' width='18'/> =((
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/13.gif' width='18'/> :-o
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/7.gif' width='20'/> :-/
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/11.gif' width='18'/> :-*
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/22.gif' width='18'/> :|
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/35.gif' width='24'/> 8-}
<img border='0' height='18' src='http://i482.photobucket.com/albums/rr190/vicioprofundo/smiley/42.gif' width='18'/> :)]
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/102.gif' width='44'/> ~x(
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/104.gif' width='30'/> :-t
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/66.gif' width='18'/> b-(
<img border='0' height='18' src='http://i482.photobucket.com/albums/rr190/vicioprofundo/smiley/41.gif' width='36'/> :-L
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/14.gif' width='34'/> x(
<img border='0' height='18' src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/24.gif' width='30'/> =))
<img border='0' height='18' src='http://i482.photobucket.com/albums/rr190/vicioprofundo/smiley/107.gif' width='30'/> :h
<img border='0' height='18' src='http://i482.photobucket.com/albums/rr190/vicioprofundo/smiley/33.gif' width='18'/> :b
<img border='0' height='18' src='http://i482.photobucket.com/albums/rr190/vicioprofundo/smiley/senang.gif' width='36'/> :z
<img border='0' height='18' src='http://i482.photobucket.com/albums/rr190/vicioprofundo/smiley/banana_smiley_28.gif' width='30'/> :y
<img border='0' height='18' src='http://i482.photobucket.com/albums/rr190/vicioprofundo/smiley/yahoo_devil.gif' width='18'/> :e
<img border='0' height='18' src='http://i482.photobucket.com/albums/rr190/vicioprofundo/smiley/53.gif' width='30'/> :a
<img border='0' height='18' src='http://i482.photobucket.com/albums/rr190/vicioprofundo/smiley/291.gif' width='18'/> 8-.
<img border='0' height='18' src='http://i482.photobucket.com/albums/rr190/vicioprofundo/smiley/55.gif' width='20'/> :-w
</b>
</div>
<b:include data='post' name='comment-form'/>
<b:else/>
<b:if cond='data:post.allowComments'>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
</b:if>
</b:if>
</p>
</b:if>
Após ter inserido este código é necessário guardar as alterações.
Depois vamos procurar por:
</body>
e acima desta tag inserimos:
<script src='http://vicio.do.sapo.pt/smile/smiley.js' type='text/javascript'/>
Guardamos as alterações e podem deixar-me um comentário para testar o efeito do que aqui expliquei!
Smiles nos comentários
11/11/08 |
Subscrever:
Enviar feedback (Atom)
20 comentários:
Bom, não vou colocar isto no meu blog, embora ache muito giro e aqui esteja tudo muito bem explicadinho...
Boa ideia essa de explicares de uma vez, noutro canto, em vez de andares a explicar aos soluços a todos os "invejosos" que também querem smiles! :)))
Olha eu a invejosa..já aderi aos smiles...graças às tuas explicações...custou mas foi! Gracias!!!
Beijinho
P@pinh@
és um querido Vício.
explicas muito bem:)
beijinhoo
Embora não aderindo aos smiles nos comentários (para já, pelo menos) acho que este blog promete... pela minha parte também prometo ir passando por cá de vez em quando para me informar das novidades e mais importante ainda, como as aplicar! E se tiver alguma dúvida, já sabes... tens que me gramar!!! :D
És o maior :D
Acho que vou precisar muito dos teus serviços!!!
olá, obrigada por teres um blog em que nos ajuda.
acontece que tentei por e dá-me esta mensagem:
Não foi possível analisar o seu modelo por não estar bem formado. Certifique-se de que todos os elementos XML estão fechados correctamente.
Mensagem de erro de XML: The element type "b:includable" must be terminated by the matching end-tag "".
não consigo pôr...
bjs endiabrados
Tentei e ao tentar guardar dá-me este aviso:
"Não foi possível guardar o seu modelo
Corrija os erros seguintes e envie novamente o seu modelo.
Não foi possível analisar o seu modelo por não estar bem formado. Certifique-se de que todos os elementos XML estão fechados correctamente.
Mensagem de erro de XML: The element type "p" must be terminated by the matching end-tag "".
sonhos/pesadelos e desire
eu testei num blog "limpo" para ter certeza que estava tudo bem e funcionou!
talvez não estejam a fazer tudo correctamente...
Testando...
:p
Ainda errei meia dúzia de vezes no meio daqueles hieróglifos, mas consegui! Ficou um espanto! Obrigado Vicío! :p
Beijosss*
Vou experimentar outros...!
:)]
bom... os smiles aparcem como nesta barra acima, mais como no próprio teste que acabei de fazer em seu blog os smiles ñ aparecem nas mensagens como esse smile ao lado ~x(
isso ñ aparece a imagem? :p
[:-w]
:))
não dá
:a
[=((]
Como boto os smiles que tao aki no seu blog ?
Não tem como aparecer o codigo assim que cria eles naum?
:-o
Enviar um comentário
Para esclarecimento de duvidas podem deixar um comentário ou enviar um email para o endereço que está no meu perfil.
Vou tentar responder a todos.
É aconselhável deixar endereço de correio