Building simplicidade.org: notes, projects, and occasional rants

On-line status is up

Wildfire 3.0 is out, and the upgrade of simplicidade.org went very very well.

The new plugin interface is very nice and I installed the on-line presence plugin. After a bit of lighttpd-config magic, I added a new domain, presence.simplicidade.org, as a public gateway to it.

The relevant lighttpd.conf setup is this:

$HTTP["host"] == "presence.simplicidade.org" {
  server.document-root = "...."
  accesslog.filename   = "...."

  server.indexfiles    = ( "index.html" )

  url.rewrite-once = ( "^/(.*)" => "/plugins/presence/[email protected]" )

  proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => 9090 ) ) )
}

So to see my presence, you can write http://presence.simplicidade.org/melo, and you'll get a small image with my status. To put it in a HTML page, you would just:

<img src="http://presence.simplicidade.org/melo" />

Nice and simple. If you have an account at simplicidade.org, feel free to use it.