Blog
Using any Debian box as a wireless access point
I just lost an hour trying to configure a Thinkpad T41 as a wireless access point. Most of that time was due to problems with the built-in wlan interface and a kernel recompile to use a prism54-based PCMCIA card. This is mostly a post to remind myself what to do, … more
Preview Openx geotargeting for different countries
Openx is an open source ad server. If you have more than one website or simply want a flexible system for targeting your ads to the right audience, it's worth a look. One of many features is the built-in Geotargeting plugin. Of course, after adding local ads to your database, … more
Include typo3 content elements on every page
You often want to include some content on every page of your website. There are a lot of different ways to accomplish this with typo3. Here's one quick solution: You create a hidden page or a page outside of your site tree, so that it doesn't show up in your … more
Redirecting all subdomains to the main domain
Using the canonical hostname for websites isn't an obvious problem. After all, who really cares if your site is accessible at www.domain.com and domain.com? Search engines, for example, could penalize you for having the same content on both domains. I think that today they are smart enough to discover this … more
Opera and the <noscript> tag
When you build websites and test them in various browsers there always are some problems in some browsers. Usually it's the one you expect who displays things incorrectly. But a few days ago I was surprised when Opera insisted on showing me the contents of a <noscript> tag . The … more
WordPress Fireworks Plugin
This plugin shows fireworks on your WordPress blog. I think it's pretty stable by now, although the images still aren't that nice. If you're a designer and you like this plugin, feel free to submit nicer explosions or rockets. You should be able to see the fireworks on this page. … more
Different titles for WordPress blog page and static front page
I was a little surprised when I realized that wp_title() doesn't return the page title for a static WordPress front page or the blog page. I don't like that, because I want at least the blog page to have a label. Something like... blog :-D or maybe news. So I … more
Mailman, HTTP POST and 301 redirects
After changing my domain configuration a little (do 301 redirects from nkuttler.de to www.nkuttler.de/ etc.) I noticed that my mailman web interface stopped working. I tried to moderate, change settings etc., but once the form was submitted nothing happened. After some digging I found the problem: 301 redirects don't pass … more
WordPress 2.7 and the comment pager
Comment paging is a great new feature in WordPress 2.7. However, how do you not display the pager when there are no previous or next comments? After digging through the code for quite a while and chatting with some people here's a solution: <?php if ( have_comments() ) { ?> … more
A Better Tag Cloud
I was pretty annoyed with the default tag cloud widget. It does a lot of things wrong, like inconsistent HTML markup and hardcoded font sizes. So I wanted to write my own. Digging through the code I found out that the wordpress wp_tag_cloud() function is pretty powerful. In fact, it …
more