The Beauty Of Mistake - By Puppen Haus
You can now prefix any theme variable with “URLEncoded” to output a URL encoded string. This should make it easier to integrate third-party widgets like Digg, or Facebook’s new Like Button.
<a href="http://digg.com/submit?url={URLEncodedPermalink}">Digg</a>
In the <HEAD> element I use:
<meta property="og:title" content="{PostTitle}{/block:PostTitle}{block:PostSummary}{PostSummary}{/block:PostSummary}" />
<meta property="og:site_name" content="{Title}" />
<meta property="og:image" content="{PortraitURL-128}" />
and in <BODY>:
<!-- FACEBOOK LIKE BUTTON -->
<iframe src="http://www.facebook.com/plugins/like.php?href={URLEncodedPermalink}&layout=standard&show_faces=false&width=85&action=like&font=arial&colorscheme=evil" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:85px; height:px"></iframe>
<!-- END FACEBOOK LIKE BUTTON -->