February 2012

29
Feb
2012

Parsing a Youtube URL

More than a few times in the past few years I've been tasked with enabling a user to add a youtube video to a piece of content in Drupal.

Sure there are specific modules out there that try to address this, but more often than not they do way more than what is needed, which generally ends up being simply that -- I want a youtube video added to this content type.

Well, I've once again had to deal with this situation, and this time around I think I found a fairly elegant solution.

08
Feb
2012

Building a custom realtime chat module for Drupal 7 (part 3)

If you've followed along with my previous two posts in this series, you should now have a functioning chat on your Drupal 7 site.

If not, start with those: Part 1, Part 2

That's kind of exciting, right? But we can make it better!

07
Feb
2012

Building a custom realtime chat module for Drupal 7 (part 2)

If you haven't already read part one, you should start there.

Step 1: Creating a basic Node.js server

As preparation for part 1 of this tutorial series, you should have installed Node.js on your server, along with its helper application npm. If you haven't done so, do that now as we're going to make use of npm now.

06
Feb
2012

Building a custom realtime chat module for Drupal 7 (part 1)

There was a time, not long ago, when implementing a real-time chat system was beyond the coding skill of most web developers. That's no longer the case, thanks to the awesomeness of Node.js.