moeffju.net

Lovely referer spam

If I’m being referer spammed, does that mean I “made it”?

Habari development

As you may or may not know, I’m now part of the core development committee of Habari. Habari is a next generation blogging platform written in object-oriented PHP using the model view controller design pattern. There, enough buzzwords?

Not having to support a huge installed codebase with a lot of legacy, we have a chance to “do things right” with Habari. Using MVC is certainly a good start, as is using PDO (now programming SQL injections takes effort). But the nicest codebase still doesn’t make a good product …

… which is why I’m asking you all:

  • What does a blogging platform absolutely need to do for you?
  • What would be really useful features to you?
  • How are you, personally, using your current platform?

Please feel free to write lengthy comments, send me mail, etc.

We are currently aiming for a developers preview release at the end of month, but there’s still a lot of work left to do. If you’re interested, have a look at the mailing lists, or just drop by on IRC, in #Habari on irc.freenode.net.

Demokratie auf links

An der HU Berlin sind bald StuPa-Wahlen, und wie das bei StuPa-Wahlen so ist, interessiert sich keiner dafür ist die Wahlbeteiligung immer eher niedrig. Da wären Wahlbenachrichtigungen doch eine nette Idee, oder?

Außer, die linke Mehrheit im StuPa wäre dadurch gefährdet.

Gelebte Demokratie.

via ra-blog

Wählt Monopoly

Saarbrücken ist nicht dabei, war ja klar.

Halt, Kopierpolizei!

Die Copypolice.de (absichtlich nicht verlinkt) nimmt es mit dem Urheberrecht nicht so genau. Nun ist das Forum erst mal verschoben, aber der Google-Cache zu “site:copypolice.de Quelle: heise” existiert noch.

Are WordPress Quicklinks unclean?

In Changeset 4349, WordPress 2.1 lost the “jump to preview” / “jump to post” links. Aside from being damn useful, that changeset also broke the Kill Preview plugin.

Funny enough, the changeset log message was “Some UI cleanups, changes, and various miscellany.” So useful quicklinks that save a lot of scrolling are now ‘clutter’?

*reverts the changeset and complains*

SPON about cRANKy

Wie kann man einen Artikel über eine neue Suchmaschine schreiben, ohne diese zu verlinken. SPON kann.

Snap Preview Everywhere!

Are Snap.com actually paying people a lot of money, or why would wordpress.com think it’s a good idea to enable Snap Preview Anywhere on all wordpress.com blogs?

WP Add Meta Tags 0.6 patch

The add-meta-tags WordPress plugin broke my WordPress 2.1 alpha site in more ways than one.

Update: Version 0.7 is out with fixes.

Anyway, here’s a (quick and dirty) patch against 0.6 to fix things.

--- add-meta-tags.php.old       2007-01-10 13:14:40.000000000 +0100
+++ add-meta-tags.php   2007-01-11 04:03:26.466994857 +0100
@@ -148,6 +148,7 @@

 function amt_clean_desc($desc) {
        // This is a filter for the description metatag text
+       $desc = stripslashes($desc);
        $desc = strip_tags($desc);
        $desc = htmlspecialchars($desc);
        $desc = preg_replace('/(\n+)/', ' ', $desc);
@@ -218,10 +219,9 @@
                if ( empty($site_keywords) ) {
                        // If $site_keywords is empty, then all the blog's categories are added as keywords
                        $my_metatags .= "\n<meta name=\"keywords\" content=\"";
-                       $all_cats = strip_tags(list_cats(FALSE, '', 'name', 'asc', '', FALSE, FALSE, FALSE, TRUE, FALSE,
 TRUE, '', '', TRUE, '', '', ''));
-                       $all_cats_arr = explode("\n", $all_cats);
+                       $all_cats_arr = get_categories();
                        foreach ($all_cats_arr as $cat) {
-                               $my_metatags .= strtolower(trim($cat)) . ', ';
+                               $my_metatags .= strtolower(trim($cat->category_nicename)) . ', ';
                        }
                        $my_metatags = rtrim($my_metatags, " ,\n") . "\" />\n";
                } else {

If you don’t have patch available, here’s the changed file (rename to .php).

I’m not quite sure whether the stripslashes is good there of if the bug comes from the admin panel, but frankly, I don’t care. I have other things to do.

I drink many beers

Everyone drink many beers.