Express.js with Phantom.js

Ok, I'm a newbie in this whole node.js, express.js thing so bare with me if this is so trivial. I'm using Greg Franko's great Backbone-Require-Boilerplate and I was thinking about SEO so I found Phantom.js

Now I'm trying to integrate it and found. http://backbonetutorials.com/seo-for-single-page-apps/

which looks like the answer but just couldn't make this work. I have PhantomJs installed.

and my server.js is

// DEPENDENCIES
// ============
var express = require("express"),
    http = require("http"),
    port = (process.env.PORT || 8001),
    server = module.exports = express();

// SERVER CONFIGURATION
// ====================
server.configure(function() {

  server.use(express["static"](__dirname + "/../public"));

  server.use(express.errorHandler({

    dumpExceptions: true,

    showStack: true

  }));

  server.use(server.router); 

  server.get(/(.*)/, respond);

});

// SERVER
// ======

// Start Node.js Server
var app = http.createServer(server);
app.listen(port);

So how would I ever plug Phantom.js in this?

Thanks a lot!

if you are looking for a node integration with express, please look at this:

https://github.com/Obvious/phantomjs

EDIT:

and here is a working phantomjs node-module:

https://github.com/sgentle/phantomjs-node