Aug 012006
 

Since tag-clouds are hot, I decided to include one too. But WordPress does not use tags, it uses categories. So I looked around for a plugin that would enable me to use tags, and the Ultimate Tag Warrior sounded like a good choice. It is a good choice. UTW give you an AJAXy style tagging when creating/editing posts, and there are a variety of display options. One of the is the “colored tag cloud” as I used in the sidebar. It scales the fontsize of the tag based on its popularity and also dims the less popular tags. So large and bold means: hot.
But this “cloud” is a PHP-function. The standard text widgets can not display something that includes PHP. Some of the display HTML, but not PHP. King Text does. And HTML. And of course plain text. The configuration block is very neat, but simple. And you can include more than one King Text block.

I think I will skip on using the categories soon or even very soon. I love the way del.icio.us works, so why not have the same intuitive interface on the blog as well? Categories are so Web 1.0…

 Posted by at 23:10
Aug 012006
 

If you’re having problems with Gallery2’s sitemap module, and Google Sitemaps is complaining about the time format, try the following. Go to the Gallery2modulessitemap directory and open Sitemap.inc. Change the following:

substr_replace(
gmstrftime("%Y-%m-%dT%H:%M:%S%z", $entity->getModificationTimestamp()),
":", -2, 0));

to:

gmstrftime("%Y-%m-%dT%H:%M:%S+00:00", $entity->getModificationTimestamp()));

It will hardcode the timezone offset to 0 hours, but at least your sitemap will work.

 Posted by at 01:17