New features : Categories and Tag cloud

From now onwards you can have Tag or Category based routes for TextPress, which are available by default. You can see two new routes config/config.php

'category' => array(
        'route' => '/category/:category',
        'template' => 'index'
'tag' => array(
        'route' => '/tag/:tag',
        'template' => 'index'

In order to use this feature, make sure you have tag or category key in meta part of the article. Multiple tags can be seperated by comas. Inside a template, tag or category can be accessed using $article['meta']['tag'] or $article['meta']['category'].

Creating a tag cloud

Its really easy to create a tag cloud in your blog. You can build a tag cloud using $gloabal['tags'] global array in layout. This variable is an array or Tag objects. A Tag object will have a name and number or occurances in the blog, which can be accessed using $tag->name and $tag->count respectively.

Likewise a list of all categories in the blog can be created using $global['categories'] array.