Jul 02 2003
1 Comment
By Leigh Dodds Semantic Web

Got Advogato? Get FOAF!

Continuing a week spent tinkering with FOAF utilities, I’ve just posted a new one that will automatically generate a basic FOAF file for you if you have an existing Advogato profile.


Advogato to FOAF
To use the utility all you need to supply is your nick name and email address. The latter is used as a unique identifier in the FOAF universe, so including that in the FOAF document makes it easier for FOAF applications to combine different peoples statements about you. There’s an option (the default actually) to encrypt this as a SHA1 sum so it won’t be revealed to spammers.
The utility uses Javascript to validate the form and assemble a URL chain that consists of using the W3C HTML Tidy service to turn your Advogato profile page into XHTML, and then the W3C XSLT service to process the results with this stylesheet which scrapes the relevant data from the page.
Here’s some sample output from my profile.
There are two obvious extensions to this. The first is to provide an option for automatically generating foaf:knows statements for all the people you’ve certified (this assumes that FOAF apps are able to smush based on foaf:homepage alone. The second is to include your (and your friends) Advogato certification level as an additional property. Bill Kearney has sketched out a schema for this already.
Thanks to Morten Frederiksen for helping to make sure that the RDF output validates.
Between this and the FOAF-a-Matic you’ve no longer got an excuse for not having a FOAF description of yourself. Every blog should have one!

Share this:

  • Twitter
  • Facebook

One thought on “Got Advogato? Get FOAF!

  1. spacer circle.ch weblog says:
    July 3, 2003 at 10:25 pm

    Advogato to FOAF Utility

    There is yet another FOAF related post by Lost Boy. The Javascript and XSLT based utility allows you to automatically generate a FOAF description for yourself based on a user account on Advogato [1].
    [1] ldodds.com/foaf/advogato/

Comments are closed.

Previous post
Next post
Follow

Get every new post delivered to your Inbox.

Join 30 other followers

Build a website with WordPress.com
%d bloggers like this:
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.