Aug. 7, 2009

Clients are always sending us CD’s jam packed with meticulously named jpgs. It’s great that they’ve put all that time into organizing their files – it helps! – but you almost never get a CD that doesn’t have at least a few web-unfriendly characters scattered among those descriptive filenames.

In hopes that it’ll be handy to someone, somewhere, someday, here’s a fun little PHP CLI (!!) tool that takes a directory of images and removes spaces and parentheses, the two most common culprits of brokenness on the web when it comes to unix compatible filenames.

Keep reading. // Leave a comment.

Apr. 27, 2009

I host the Django powered Dawsoning at Mosso on an Ubuntu cloud server. Since I somehow pulled off a successful upgrade from Ubuntu Intrepid to Ubuntu Jaunty, I thought I’d share a couple pointers.

Keep reading. // Leave a comment.

Mar. 2, 2009

If you’re like me and you’ve been following ExpressionEngine’s Knowledge Base article on porting an EE site from one server to another, let me share a secret. You’ve been doing it the hard way.

Keep reading. // Leave a comment.

Feb. 28, 2009

Document

2:43 pm

Elsewhere!

TNF has gotten the short end of the stick since Meg and I became parents. (I’m planning for that to change, for what that’s worth.) The lack of action here is partly due to the fact that I launched another site, Dawsoning, a week or so after Asher was born.

Keep reading. // Leave a comment.

Dec. 21, 2008

I’m now just over two months into my Django experiment and about halfway into my first client project. I’ll admit to anyone who even feigns an interest in listening that I’ve never had this much fun working on the web. The framework never fails to impress. Take for example the problem I was confronted with in building an online registration system for an after-school program at a local elementary school.

Keep reading. // Leave a comment.

Dec. 6, 2008

After following James Bennett’s 2006 article on extending Django’s User model, I was surprised to find that the resulting profile fields didn’t automagically appear in the admin panel. I knew it had to be possible. The solution just took some sleuthing.

Keep reading. // Leave a comment.

Nov. 9, 2008

The last month’s been pretty quiet here at TNF. I’m blaming part of that on the bump, but in all honesty, making ice cream and gatorade runs for your wife doesn’t take up too terribly much of one’s time. But learning a new web development framework does.

Keep reading. // Leave a comment.

Oct. 6, 2008

When I made the big jump from WordPress to ExpressionEngine this past spring, I dumped all my old posts. There were many reasons for the decision, and one of them was that I couldn’t figure out an easy way to migrate the URLs for existing articles over to the new system. Granted, it wasn’t the biggest of reasons, but it didn’t help. While ExpressionEngine doesn’t serve up nice date based URLs by default, it turns out it can be done. In fact, it’s quite easily accomplished.

Keep reading. // Leave a comment.

Sep. 23, 2008

ExpressionEngine’s exp:weblog:month_links function is one of those basic blog tools you’d expect any leading software to include. It’s main responsibility is generating a list of links to monthly archive pages. But like a number of ExpressionEngine’s core functions, turns out it’s actually less flexible than the core system itself. If you’re creating an archive of future posts – say, for a list of upcoming events – there’s no way to pull those future dated entries. Luckily, there’s a workaround.

Keep reading. // Leave a comment.

Sep. 10, 2008

Man, the WordPress Codex is deep. I’ve spent more hours than I’d like to admit plumbing its depths, and I still get the sense I haven’t seen more than a tenth of what it has to offer. Here’s a function straight from the codex that’ll be a big help to theme and plugin developers: the wp_enqueue_script() function. If you find your self building WordPress themes and plugins that’re heavy on the JavaScript, this guy’s gonna be your new best friend.

Keep reading. // Leave a comment.

Sep. 9, 2008

Now that Agregado is launched, I’m starting to review what I learned during the build process. In short: tons. But how about an example? Let’s take a look at one of the handy SimplePie tricks I learned from working on this project.

Keep reading. // Leave a comment.

Sep. 8, 2008

This is a pretty exciting post for me. A few months back, the folks over at Smashing Magazine approached esteemed WordPress theme designer Darren Hoyt (who, in the interest of full disclosure, is also my office-mate) about creating a free, high quality WordPress theme to be released as part of that site’s free theme collection. Darren asked that I handle the backend features while he rolled out the design. Today, we’re proud to introduce Agregado.

Keep reading. // Leave a comment.

Sep. 6, 2008

Not so long ago, I wrote about a method for running complex queries on an ExpressionEngine database using two built-in functions: exp:weblog:entries and exp:query. It’s a neat and useful trick, but the example I suggested was a somewhat limited, specific use case. There are tons of ways to relate one bit of data to another in ExpressionEngine and equally as many ways to get at that data. Let’s take a look at another one of those methods.

Keep reading. // Leave a comment.

Aug. 27, 2008

In addition to talking about it here, I’ve been chatting up Muxtape to everyone who’ll listen. But now it looks like Muxtape’s gone the way of the dodo. Enter Opentape, a virtual clone of Muxtape with one crucial difference: it’s your turn to do the hosting.

Keep reading. // Leave a comment.

Aug. 26, 2008

I sure as donuts wish someone had written a post like this before I needed it. So even if you don’t need it, file under “useful when someone’s looking for an answer.”

Keep reading. // Leave a comment.