From: Oliver M. B. <ol...@fa...> - 2004-02-22 18:05:56
|
With final exams closing in on me, I coded up support for FOAF (Friend of a Friend, http://www.foaf-project.org/) for the Zoo plugin. By visiting /~Foo/friends.rdf, an RDF-file using the FOAF-Schema is returned, associating the User with his Friends via the foaf:knows property. foes.rdf delivers the User's Foes in the same way and accessing /~Foo/foaf.rdf returns both Friends and Foes. If there is interest in this, I'll add more features like: - add a <link rel="meta" type="application/rdf+xml" title="FOAF" ... /> to ~Foo/ - place a nice FOAF icon somewhere on the user's page - let users specify their own FOAF file that can be included using rdfs:seeAlso - add support for AIM, Jabber, Yahoo! IM IDs - ... I've registerd a patch at http://sourceforge.net/tracker/index.php?func=detail&aid=902185&group_id=4421&atid=304421 It adds a Slash::XML::FOAF module and generates FOAF data when content_type=foaf is passed to certain ops of zoo.pl or the op is foaf. Additionally, various aliases are added in Slash::Apache::User so that the FOAF data can be accessed from simple URL. -- Oliver M. Bolzer GPG (PGP) Fingerprint = 621B 52F6 2AC1 36DB 8761 018F 8786 87AD EF50 D1FF |