Recent Comments Plugin

I installed the Recent Comments Plugin here and it’s rather nice! I wrapped it in a small Smarty function in the usual way and I’ll probably include it in the next snapshot.
Call it by adding “{get_recent_comments}” to your template!

IRA flood the gaf with Queens Pound

The Peoples Republic Of Cork analyze the latest news in North-South relations. What’s with all the Sterling floating around in Co. Cork, and why did the Orange Order turn down a chance to march in the St. Patrick’s Day Parade?

What a weird week for Irish republicanism and Cork. Have you checked your back garden for buried treasure?
What a wasted opportunity for republicans to show a bunch of hardened right winged Unionists how daycint Cork is, the best example of civilization on the island. Sure they would have loved it! They’d be heading back up North singing De Banks and telling everybody on the Shankill stories they heard about Henrys, going back to a gaf up in Churchfield after the parade after-party and having a jar in the Hi-B.

Queen and Paul Rodgers – Dublin, May 14th

Arrgghhh Nnnnoooooo!! Queen and Paul Rodgers are touring this year and 2 concerts in Ireland have been announced! Unfortunately I won’t be here! I’ll be in Chicago!
Here’s the full list of concerts but they’re probably all sold out – the UK concerts sold out within hours of being announced.
I must read that Uncut interview with them soon. I haven’t a clue who Paul Rodgers is!

SAJAX – Simple Ajax Toolkit by ModernMethod – XMLHTTPRequest Toolkit for PHP

Now that XMLHTTPRequest has been renamed Ajax by Joe Public, it’s gaining more and more attention.
SAJAX is another toolkit, along the same lines as JPSpan in that you can call PHP functions directly from your web browser. The latest release also has backends for Perl and Python. Other language backends are a possibility if they’re contributed.
One major drawback of this project in it’s current state is, “Lack of type checking and support for rich return types”. JPSpan allows complex data types such as arrays to be passed back and forth between Javascript and PHP and from what I can see of the examples, SAJAX doesn’t support asynchronous calls either, yet.

multiplication example

/* PHP */
function multiply($x, $y) {
  return $x * $y;

function do_multiply() {
  // get the folder name
  var x, y;

  x = document.getElementById("x").value;
  y = document.getElementById("y").value;
  x_multiply(x, y, do_multiply_cb);