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 -->
…from now on – because of Tumbler’s automatic {RebloggedParent} and {RebloggedRoot} functionality, which provides all necessary credit links.
It can also be used with E Text Editor on Windows.
On Tumblr
This could very well turn out to be a horrible mistake, or it could play out really well for me. There’s no way of finding out without giving it a go, and that’s precisely what I’m doing.
I’ve foregone Movable Type as the software that powers this site and have chosen Tumblr instead. In short, I don’t know that I need full-featured blogging software anymore, at least not for this site. And while there are many great blogging/CMS platforms out there—WordPress, Squarespace, Harmony, and the like—I chose Tumblr because it makes customizing and posting almost as easy as Twitter. Frankly, most days that’s all I have time for.
(via timodee)