Wednesday, May 7, 2008

My FOAF Profile

I stumbled across Mark Birbeck's blog which has a nice article on how to create a FOAF profile which I of course had to try out. So now this is me :)

1 comment:

Anonymous said...

Hello, I just saw your first go at RDFa. Good stuff :) But a couple of things.

It would be nice to have class's associated to both the Document and your foaf:Person URI - personalProfileDocument and Person, would be nicely.

I also get some errors, when I try and parse your foaf file using raptor :
<http://www.skynet.ie/~petes/profile.html> <http://xmlns.com/foaf/0.1/primaryTopic> <http://www.skynet.ie/~petes/profile.html#me> .
<http://www.skynet.ie/~petes/profile.html> <http://xmlns.com/foaf/0.1/maker> <http://www.skynet.ie/~petes/profile.html#me> .
<http://www.skynet.ie/~petes/profile.html#me> <http://xmlns.com/foaf/0.1/name> "Peter Enright" .
<http://www.skynet.ie/~petes/profile.html#me> <http://xmlns.com/foaf/0.1/weblog> <http://semanticpete.blogspot.com/> .

rapper: Error - URI http://www.skynet.ie/~petes/profile.html:1 column 0 - XML parser error: attributes construct error
rapper: Failed to parse URI http://www.skynet.ie/~petes/profile.html rdfa content
rapper: Parsing returned 4 triples

Which is kinda strange.

We put together a foaf.qdos.com/validator. Which may help you write out triples. But, yeah I need to make it speak RDFa... Have a go with our foafbuilder. It will you an idea of what triples you can right in your foaf profile.

Oh, I think I have some rdfa in on homepage too.

Good stuff