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 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: