zengun

weblog » tag view

2005 08 05

incremental updates #2

  • Upgraded to the latest stable WP. It was as easy as copying new files over old ones.
  • Fixed Tagadam to work with this version of WP. Tagadam is the name of my still-not-ready-for-a-release tags plugin, it’s been primarily coded with my CVS checkout of February in mind, so no wonder it needed some fixing.
  • Ditched categories in feeds. I’ll only have tags from now on (they’re already using the <category> element anyway).
  • Added Google ads on archives, tags, single posts. I’m not sure of the format.

2005 07 16

the corsican connection

wp-plugins.net really sports a corsican flag

I knew it, I knew it all along: wp-plugins.net really is the work of a closet corsican.

2005 05 19

that which is nice and dandy

Fake del.icio.us links until I get off my lazy arse and start using del.icio.us (I’ll blame the lack of good Gnome-ish clients too).

Addendum to the third item: wouldn’t it be nice if there was a Firefox extension that would check the generator for a site’s feed and then allow you to add the site as a search engine if the generator is WordPress or any other tool with an easily discoverable search facility?

2005 02 21

incremental updates

  • Switched to the Kubrick theme because 1.5’s Classic wouldn’t load comments on mini posts (surely an issue with the MiniPosts plugin).
  • Found out wp_title() misses a filter hook for everything but titles, that is why category pages sport unlovely [fr]titres[/fr][en]titles[/en].
  • Fixed the site’s content-type.
  • Installed Referrer Karma. If you ever have to click through to get to this blog, please notify me so I can whitelist you.
  • Added RewriteRules so that old old old permalinks work again.
  • Activated my soon to be released tags plugin. That’s where the “Tags:” lines and the Tags list on the right are from. I still need to make tags appear in the feeds, and support tags additions in URIs.

Ouf.

2005 02 09

Die, WordPress, die!

This has got to be the most useless WordPress plugin ever: activate it and your blog is toast.
That’s all it does.
Quickly whipped up after some frustration with WP 1.5’s plugin hooks (guys, we badly need internal docs, or at the very least, informative comments). The definition of “die” is from Elbert Hubbard.

<?php

/*
Plugin Name: Die, WordPress, die!
Plugin URI: http://zengun.org/weblog/archives/2005/02/die-wordpress-die
Description: Blog-suicide is painless.
Version: 1.0
Author: Michel Valdrighi
Author URI: http://zengun.org/weblog/
*/

ob_end_clean();
die('<dl><dt><b>Die</b></dt><dd>v.: To stop sinning suddenly.</dd></dl>');

?>

2004 05 17

tag, you’re it

Just a quick, Nth re-run of the old TagifyThis, except this time it comes as a WordPress 1.2 plugin and has been renamed (’TagifyThis’ sounded too bland).

Tag, You’re It (copy in your favorite text-editor, save in wp-content/plugins/)

2004 03 13

TagifyThis

Inspired by a post on dive into mark, TagifyThis is a little function I wrote a while ago, that surrounds specified strings with specified tags and attributes.
The first use I made of it was for acronyms, but it can be used for just any tag.
You give it a string, and a list of lines like "literal" tag attribute "value", and then whenever it sees literal in the string it converts it to <tag attribute="value">literal<tag>.

When I first blogged about it, it was broken because of a bug in PHP’s handling of PREG_SET_ORDER, and because it could only handle one list of strings and tags. It just wasn’t flexible. Now PHP is fixed, and TagifyThis handles any list of replacements that you throw at it.

More documentation in the source: tagifythis.phps.

2004 02 18

a fistful of URIs

Quick URI grabber script for XChat: urigrabber.py.
Simply because the built-in URI grabber sucks: it doesn’t log URIs with their context, and it’s gone when you close XChat.
Screenshot (tail -f ~/xchat-uri-feed.txt)