Business Card: bowen@dwelle.org
Smoothbeats.com
KALX Berkeley    WSUM radio

WFMU radio

Thinking about comments, trackbacks, etc. What a mess! Hey Rich – aren’t you guys at Technorati supposed to be taking care of this? In the meantime, I thought that Scriptygoddess’s WP Subscribe to Comments plugin might be useful. Let’s see.

I’ve been getting a fair bit of WordPress comment spam, so I just Installed Kitten’s Spam Words 2.1.1; we’ll see how that goes. If it doesn’t do the trick, I suppose I could try Skippy’s Email Comment Auth plugin, or one of the other techniques listed here.

Now that I’ve re-enabled tags (aka categories), I wanted to sync my WordPress tag navigation with del.icio.us, pulling in the del.icio.us links for the given tag. I’m not sure why some folks are set on creating blog entries for del.icio.us links; this seems like duplication of data to me. In any case, I just grabbed Magpie, and then wrote template-functions-rss.php, which grabs the RSS feed of links for the given tag (e.g. http://del.icio.us/rss/bdwelle/programming), and spits it out in HTML. Very, very straightforward.

In the meantime, I had to do a fair bit of hacking in the WordPress source. What a mess! I’ve said it before, I’ll say it again — tons of poor coding. Some functions return arrays or strings, some just barf out echos all over the place. Some functions do formatting, some don’t. Do I use post->ID or post_id? What’s global? Answer: Everything! Anyhow, it works, and I still like it well enough not to switch back to MT.

  • create full image display page with title, desc, tags, etc

I changed my WordPress image display plugin to href , which uses a slightly enhanced version of to fetch the single image asset post. Here's my version of:function get_posts($args) { global $wpdb, $tableposts, $tablepost2cat; parse_str($args, $r); if (!isset($r['numberposts'])) $r['numberposts'] = 5; if (!isset($r['offset'])) $r['offset'] = 0; if (!isset($r['category'])) $r['category'] = ''; if (!isset($r['orderby'])) $r['orderby'] = 'date'; if (isset($r['orderby'])) $r['orderby'] = "post_".$r['orderby']; if (!isset($r['order'])) $r['order'] = 'DESC'; $now = current_time('mysql'); if (isset($r['postid'])) { $posts = $wpdb->get_results("SELECT DISTINCT * FROM $tableposts WHERE id = " . $r['postid'] ); } else { $posts = $wpdb->get_results("SELECT DISTINCT * FROM $tableposts LEFT JOIN $tablepost2cat ON ($ tableposts.ID = $tablepost2cat.post_id) WHERE category_id = ". $r['category'] . " AND post_date < = '$now' AND (post_status = 'publish') GROUP BY $tableposts.ID ORDER BY " .$r['orderby']. " ".$r['order']." LIMIT " . $r['o ffset'] . ',' . $r['numberposts']); } return $posts; }

Sep 27

We flew into Madison, WI and went for a brief tour around town. Saw my dumpy apartment there on Morrison St. Went down to the lake shore and met J and the kids on the terrace, had a beer. Down State St. to Himal Chuli for dinner and then ice cream afterwards. Then off to meet Olivia at the Crystal Corner. We all hung out there for a while before heading off to bed.

In the morning we drove up to Manitowoc to catch the SS Badger across Lake Michigan.
:307->all:
:308->all:
Four hours later we steamed into Ludington…
:309->all:
From there we drove up to Empire, MI where my old friend Chris Walter is building his own little empire. Neat little town, and a beautiful area. As usual, I had my eyes open for what’s going on in terms of planning and development:
:310->all:
:314->all:
:315->all:
:318->all:
:311->all:

Chris and Ashlea’s wedding was right down on the beach there – it rained a bit in the morning, but then cleared up later in the day.
:320->all:
:321->all:
:322->all:
:320->all:

On Sunday, we drove over to have brunch at Chris’ parents’ place in Sutton’s Bay. They have a little strip of land down on the cove where X and I went for a swim before heading down to catch our flight in Traverse City.
:326->image: