Ultimate Tag Warrior 0.1

Version 1.0 is here!

This is the first release of my latest and greatest wordpress plugin Ultimate Tag Warrior. It’s a tagging plugin for wordpress with normalised data (Oooh. Aaaah); and three ways of getting tags back out (Tags on a post, popular tags, and an archive a-la my Category Archive plugin).

Functions
There are three functions worth thinking about (the rest is “don’t mind the man behind the curtain” stuff)

ultimate_show_post_tags($separator=” ”, $baseurl=’http://www.technorati.com/tag/’, $notagmessage = “No Tags”)
Display a list of tags associated with the current post.
$seperator is the string that seperates tags. It only appears between tags, and not at the beginning or end of the list.
$baseurl is the base URL to link the text of a tag to. The tag link takes the form {baseurl}{tagname}. The default points to Technorati. The value “/tag/” would link to the local tag page.
$notagmessage is the text to display when a post has no tags.
ultimate_show_popular_tags($limit=10)
Display a list of the most popular tags. The tags are wrapped in li html tags, and the number of matching posts is also displayed.
$limit is the maximum number of tags to display.
ultimate_tag_archive($limit = 20, $postlimit=20)
The tag version of this plugin

Download
http://www.neato.co.nz/plugins/ultimate-tag-warrior-0.1.zip

This file contains the full documentation, the plugin file, an installation script, and a basic tag.php template.

Ch-ch-ch-ch-changes…

I’ve switched to using wordpress 1.5ish, instead of 1.2ish!

In the process, I’ve changed the layout of the site a bunch.

(I’ve also moved all of my custom code into plugins. A painful process, I assure you.. Although, once I bundle it up, I’ve got one heck of a tag plugin to unleash on the world.)

There are more changes on my to-do list; however the wordpress upgrade is most of the battle (:

One of the great mysteries of our time

It is really cold in Wellington at the moment. It’s really cold in our kitchen, which brings us to the so called great mystery of our time. Oil. More to the point, the difference between oils at cold temperatures.

Sitting on the bench, there are three bottles of oil. Olive, sesame and peanut. The olive and sesame oils are in opaque containers, and as such are hard to observe. The peanut oil, on the other hand, is in a clear glass bottle. At the moment, the contents of said bottle are an opaque shade of yellow; not dissimilar to lemon juice (And since the others are in opaque containers, it’s, well, hard to tell).

Sitting in the cupboard, there is the rest of the peanut oil in a clear plastic bottle; which has also turned to the colour and opacity of lemon juice. However, also lurking in the cupboard are three small bottles of flavoured oil (lemon, chilli and garlic from prenzel); and another larger bottle of basil infused olive oil. The flavoured oils, are all transparent.

So the mystery is this: are the flavoured oils clear because they are flavoured, or because their base oil is chemically different in some way which allows the oils to stay clear at lower temperatures?

My hunch, is that there is some kind of inverse relationship between smoke point and “turn opaque in cold” point. If I was more dedicated to science (and if the kitchen wasn’t so cold that oil was turning opaque), I’d experiment (:

Melting Moments

Mmm. Delicious baked goods.

200g butter, creamed with 3/4 cup icing sugar; then add 1 cup cornflour, 1 cup ordinary flour and a 1/2 teaspoon of baking powder, and mix to combine.

When the flour is being mixed in, it seems to get a little bit clumpy, then it gets all grainy; but keep on mixing, because it’ll come back together again.

Roll into little balls, squish with a fork, and cook for 20 minutes at 180C. Once cool, smoosh two biscuits together with icing.