Blosxonomy Token Parsing

Posted Sun, 13 Nov 2005

I just enabled the Blosxonomy's template parser to replace tokens inside your story content instead of just in your template files. This will be released in version 0.6.

You can do some pretty neat things with this, such as embed your entry's body in the body itself, like so:

<p>I just enabled the Blosxonomy's template parser to replace tokens inside your story content instead of 
just in your template files. This will be released in version 0.6.</p>
<!--BREAK-->
<p>You can do some pretty neat things with this, such as embed your entry's body in the body itself, like so:</p>
<pre>$body</pre>
<p>Note that it's not recursive, so it's a pretty safe thing to do :). Keep in mind that this means you should 
always use &amp;#36; instead of &#36; in your posts, as the template parser will replace it as a token.</p>

Note that it's not recursive, so it's a pretty safe thing to do :). Keep in mind that this means you should always use &#36; instead of $ in your posts, as the template parser will replace it as a token.

Post a Comment




About

My name is Tim Fanelli, I am a software engineer in Northern NY. I spend most of my time working, and when I can, I try to post interesting things here.

Cigar Dossiers