Bugs in the House
So far, the house has two kinds of bugs.
One type, sounds suspiciously like vagrant spiders (we have seen two enormous freaking hunting spiders, in any case. Last night, one was climbing on a wall, and fell off. It hit the ground with a *thwok*). The other type of buggly invaders…. are millipedes.
I had millipedes come and visit when I was living in Oriental Bay. Rumor has it, I didn’t like it very much.
So far, I’ve only seen dead millipedes downstairs. If I see living millipedes upstairs, there will be another millipede armageddon.
(I suspect that the owners before us might have used an outdoor-type insect deterent/poison, because almost all of the crunchy millipedes have been within a meter or so of the outer walls)
City Lights
My week so far…
Still have both boeuf bourguignon, and cold.
(However, the last of the boeuf bourguignon is dinner tonight; so alas, no boeuf bourguignon tomorrow. I don’t believe I’ll be able to say the same about the cold.)
A Proper Grown Up
I just paid the rates bill for the first time.
I feel like such a grown up, now.
Quick! Someone fetch me a zimmer frame!
Boeuf Bourguignon
This is boeuf bourguignon, made using the recipe in the Les Halles cookbook; give or take. This is my second attempt at this, and both times it’s ended up with the liquid closer to brown than red. One of these days, I’ll figure out where I’m going wrong.
One month down..
..and with any luck, only another 119 months of being mortgaged to go. *crosses fingers*
To celebrate, I have a cold!
Stupid cold.
Category Archive plugin 0.2
Behold, version 0.2 of my category archive plugin!
Changes
- Some type checking on the parameters passed in to the functions.
- The addition of get_limited_category_archive(), which gets only the categories specified
- The inclusion of a $getchildren parameter to the standard archive-getter, which allows excluding the display of child categories
Function Reference
- get_category_archive($limit = 10, $parent = 0, $getchildren=true)
-
- $limit is the maximum number of posts to get for a category. 0, -1, or none will get all of the posts.
- $parent is the id of the parent category to get.
- $getchildren specifies whether the children of the categories should be displayed
- get_limited_category_archive($categories, $limit = 10)
-
- $categories is the list of categories to retrieve. This can be either an array of category ids, or it can be a comma seperated list (for example: 1,2,5,7)
- $limit is the maximum number of posts to get for each category. 0, -1 or none will get all posts.
Output
{the name of the category}
{the description of the category, if set}
{the most recent postings for this category. If there are more postings than the limit specified, a link is included to the category page.}
Download
The plugin lives at http://www.neato.co.nz/plugins/category_archive.txt
Category Archive plugin
This is a category archive plugin. It displays a list of all categories, along with the first x posts for each category.
The plugin lives at http://www.neato.co.nz/plugins/category_archive.txt.
To install, copy the contents of that file to your plugins directory; enable the plugin; then make a call to the get_category_archive($limit, $parent) function.
$limit specifies the number of posts to get for each category; and $parent specifies the parent id. If the $parent parameter is left blank, then all of the categories will be retrieved. Alternately, if a category id is specified, only the categories under that category will be retrieved.
The output takes the form of a set of divs, with the specified CSS class names.



