FOAFlicious 0.1

07 January, 2005

FOAFlicious is an application for generating a FOAF file from your inbox.

FOAFlicious is written in Groovy, and can be seen in action on (hopefully this URL will become better in time).

This is the first time I’ve ever used Groovy and so far I’ve not been able to configure it to accept URL parameters (answers on a postcard please) so it’s currently hardcoded to return a FOAF file based on my inbox, here’s looking at v0.2 🙂

The inbox facility is currently turned off except for the list of subscriptions so it currently works by masses of screen-scraping. As soon as the inbox comes back it should be able to switch to using the API (probably using David Czarnecki’s delicious-java API).

Currently it uses the page for each user listed in your inbox to extract a user’s real name and homepage, then looks at their homepage to see if they have a FOAF autodiscovery link, and if so includes it in a <rdfs:seeAlso rdf:resource="blah"/> block.

The (terrible) code is available on it was only written in a couple of hours, so no abuse please 🙂 In order to run it you’ll need the Groovy libraries, commons-httpclient, commons-logging and JTidy.

If you want to stay notified about this project, it has its own feed.

For reasons of my own sanity, you can add comments and questions about this over here.

See other posts tagged with general and all posts made in January 2005.