Ben Trott has uploaded version 0.02 of XML::FOAF to CPAN. This is a Perl module designed to make it easier for programmers to work with FOAF documents. It builds upon the RDF::Core module from Ginger Alliance and can use Crypt::OpenPGP to check digitally signed FOAF files. Version 0.02 of XML::FOAF adds autodiscovery support. The documentation shows how to load FOAF from a URI, which can either be a directly named FOAF file, or an HTML page which references a FOAF file using the following markup:
<link rel=”meta” type=”application/rdf+xml” title=”FOAF” href=”http://foo.com/my.foaf” />
See Ben’s earlier Fun with FOAF article for more examples of usage and potential applications.