Just finished upgrading to WordPress 2.3. Went off without a hitch — even converted my categories to tags. I did have one issue with that, though. For some reason, certain posts were marked “Uncategorized” while other retained only my default “Miscellany” category. I couldn’t detect the pattern. I had to “hand” edit the database to… Continue reading WordPress 2.3 Upgrade
Comments on OPML 2 expanded Attribute
In response to Dave’s proposal to add an expanded attribute to the OPML 2.0 spec, I have the following thoughts. Typo: “Its optional” should be “It’s optional” As a general matter, I’m not convinced that this belongs in the spec. It seems to me that display properties are the application’s problem, not the file format’s.… Continue reading Comments on OPML 2 expanded Attribute
Podcast recommendation
Just finished listening to the The Traneumentary podcast. Fantastic! 33 episodes in all. Subscribe
PHP command line mode detection
Use a block like this in PHP code to detect whether or not it’s running in command line mode as opposed to web server script mode. // if $_ENV['SHELL'] exists, we're probably in command line mode if (array_key_exists('SHELL', $_ENV)) { $this->setOutputMode(MYSQLICIOUS_OUTPUT_CMD); } else { $this->setOutputMode(MYSQLICIOUS_OUTPUT_HTML); }
iPhone, Apple Store thoughts
I spent some time in the Apple Store at the Pentagon City mall in Virginia yesterday, and I played with the iPhone for about 20 minutes before I became absolutely sick of it. So it didn’t surprise me to read iPhone sucks buy Blackberry stock (via Scoble). I found the touch screen keyboard on the… Continue reading iPhone, Apple Store thoughts
I’m #1 (too)
Wow! [via Dave]
My Link Blogs
Finally have a bunch of my link blogs posted. A little explanation, though. First, this is an OPML file, generated by NewsGator, filtered through sed, and displayed by Optimal. Second, I maintain these link blogs in FeedDemon and my own aggregator built on the NewsGator API. As of the latest version (ver. 2.5), FeedDemon automatically… Continue reading My Link Blogs
Juice-y Python
I use Juice to manage my podcasts. But it doesn’t do everything I need, and it’s a little buggy, and I want to learn Python anyway. So I decided to download the latest source code and see if I could fix some of the bugs I’ve noticed and figure out how to extend it to… Continue reading Juice-y Python
Quick WordPress Upgrading
Note to self: Grab a unified diff of the new version versus the old version: svn diff -r HEAD –old http://svn.automattic.com/wordpress/tags/<old_version> \ –new http://svn.automattic.com/wordpress/tags/<new_version> Apply the changes to the current installation: patch -d <path_to_wp_install> -u -i <patchfile>
Leash and Feedparser
Maybe I’ll write up something a little more formal in the future. For now, I just want to publish this in case it’s useful to someone. Les Orchard posted a blurb that indicated that he was looking for a PHP class to perform HTTP requests with conditional GET support. Well, a while ago I was… Continue reading Leash and Feedparser