LiveJournal FOAF XML Parser

This was originally page on this site, but I’ve since decided to just make it a post. Here goes:

This is a class for PHP5 that allows you to load up a FOAF (friend of a friend) file from livejournal.com and display information from that file.

Simple usage:

require( "xml-foaf-class.php" );
$foaf = new Foaf;
$foaf->do_processing( "filename" );

echo $foaf-&gt;nick;</pre>

Download the source here: xml-foaf-1.0.zip

[Read More]

I wrote a FOAF parser for PHP5

Well at least I did something useful with my first of a week of overnight shifts, and that was to do some programming. Clairey’s been talking about trying to setup a page to process the Livejournal FOAF (friend of a friend) XML feed, but not getting anywhere with it. I’ve done XML stuff before, and I thought I would help her out, and as usual, with the times that I decide to help someone out with coding something, it turned into a mini-project.

[Read More]

Shopping!

Ok, so I’m working the night shift this week, 10pm - 6am Tuesday through Saturday. I’ve been wondering what it’d be like to work a week straight of overnights, and I was muttering about it on Saturday night because I’m sick of being a service coach. Monday morning comes around, and I get a call from my supervisor at work - would I like to do a week of overnights? Sure, that’d be fine, says me.

[Read More]

The Theatre

I went to the theatre the other night, to see a play based on Terry Pratchett’s novel Interesting Times. I found out about the play through my good friend Denise, as her housemate was playing the part of Twoflower. It was performed in a small theatre called the Brisbane Arts Theatre, on Petrie terrace. A small theatre that has been open on-and-off for thirty years or so, going by what my father remembers, there was enough seating for perhaps one hundred people, and for the final show, there was about 2/3 of the seats filled.

[Read More]

Boo, these things suck

You Passed 8th Grade Math

Congratulations, you got 10/10 correct!

Could You Pass 8th Grade Math?

But I’m a sucker, and I’m smart!

Your birth on the 17th day of the month suggests that you are very lucky financially, because this date indicates a solid business sense.

Although you are probably very honest and ethical, this birthday enables you to be shrewd and successful in the world of business and commercial enterprise.

[Read More]

Punks and uni, k5 style.

I don’t know what to say other than read this story on k5. It’s pretty cool, about someone doing a really cool course in uni, and having some fun along the way.

Boy I love Kuro5hin at times - it makes the.funny = 1;

(Update 30/4/16 - “this story” used to link to http://www.kuro5hin.org/story/2005/10/25/6750/9089 but k5’s gone and the Internet Archive was blocked from accessing it. Sad.)

[Read More]

Why not to have other people’s accounts under your name.

Mother. Giver of life, feeder of mouths, lender of money, and it seems… serial late-payer of bills. I have a dialup connection through iHug (now owned by iiNet which I used to use before we got our cable connection through Bigpond. I kept it going after we got cable, since mum’s laptop isn’t allowed on our network. Spyware, large downloads and viruses are inherent with little sisters and stupid users. She uses that connection to get on the net.

[Read More]

You could swear it was high school again.

So, as usual, another “goddamn, there’s some stupid people in the world” post. But instead, it’s not the customers, it’s an agent! One, in particular. Ok, so when someone can’t do their job in one company, has terrible people and communication skills - and that company is your client, the obvious thing to do would be to hire that person when the client shuts down the department. That makes sense, doesn’t it? Didn’t think so.

[Read More]

Fuel pumps and steering components

Well, I got my low pressure fuel pump today, a carter gold. Boy it’s heavy! And big! It came with a mounting bracket, and all the possible hardware it’ll need to set it up, which is nice… even little waterproof cap-clips for the power lines… seriously nice!

Here’s some pics:

[Read More]