Getting content into Drupal with the Migrate module (Vancouver v.0.3)

This is the third version of my migration presentation, now with much more code samples and information on how to use migrate_d2d. This time it was presented in Vancouver for the Pacific Northwest Drupal Summit.

Update: on slide 24 file should be "".

Migrate all the things!

This is a presentation I did for the 2013 Toronto DrupalCamp.

Migrate allows you to bring content into your new Drupal site from a variety of data sources including past versions of Drupal. In this session we will talk about why you should consider using Migrate over other methods such as upgrading Drupal, using feeds, node export, copy and paste, etc. We will look at what data sources can be imported, how to create migration classes and where to find starter templates you can use to build your own custom migrations.

At the end of the presentation we walked through my previous blog post for code examples and more detail.

EDIT: the prepareRow and prepare functions had their names inverted on the slide titles.

Introducing to Montréal JavaScripters

Tonight I presented an overview of to the Montréal JavaScript meetup. My slides are attached to this post.

A good portion of the introduction is looking at the crazy stack that social networks generally use, typically something resembling LAMP, and that it is quite heavy for sending short messages. Mention to and node.js for being ideal to manage these situations. Some discussion was had about Diaspora and Frendika Frendica* which was interesting to note. Long story short, the stack has been screwing us all.

Then we dove into "what does it look like"... so I made a test post: and then one person asked to demo how to follow someone. Thank you whoever you are! That was a great question. Then we quickly went back to the slides.

After this I have two dense slides of install tips which are largely based on my own experience and interactions with other people running their own pump. We took a quick look at a typical config file. Everything a would-be admin will need to know.

To wrap up I provide a list of links to resources that people can use and three people to follow.

I blasted through these slides in just over 20 minutes! Yes, they are probably full of spelling errors, that's how I roll.

I have also attached the source document if you wish to recompile these into documentation, wiki pages, presentations to your friends, your boss, etc. Enjoy.


New server, signing off of StatusNet

Over the past two years I have been a big fan of StatusNet, the social software that is open source and works similarly to twitter. On this blog I have documented my experiences running the software on my own server and it has been a fun time.

Earlier this year Evan, the founder of StatusNet, announced that he had rewritten the engine of the software with JavaScript on node.js.

I believe this was a smart choice for this software as the Apache, PHP and MySQL parts of the StatusNet stack are incredibly heavy. Evan had been working on this new JavaScript rewrite for about a year before announcing it, and I have been running it in some form since January when it was announced.

In June I finally put my instance live at It had the unfortunate consequence of topping out the memory on my server so I decided to shut down my StatusNet instance (see graph attached).

The largest StatusNet site,, is due to be converted to any day now. When that happens the network will overtake StatusNet. The PHP-based StatusNet will live on under the name GNU Social (new updates to come soon).

Some of my contributions to the StatusNet community were on my SN server. If anyone would like a copy of the themes I made please reach out to me.

If you have a account please follow me at my new instance:

... want to try This link will give you a random server that is accepting users. Don't like the domain? Just hit that link again and you'll get a different one.

For those interested, I have recreated my Chinese language flash card bot. It posts random words every 10 minutes.

PS. The attached photo shows AND StatusNet running concurrently, until I turned off SN. You can see the result... is smooooooth running.

PPS. I hope more Drupal folks end up on than were on StatusNet. I still find it hard to believe the Drupal community uses twitter rather than open source messaging platforms...