Sat 12 Jun 2004

Updated ab

Well, it turned out to be a pretty much one-line fix (well, one per problem, and a did a bit of extra fixing).

0.8 is now ready; it generates valid FOAF (as far as I can tell!), so my FOAF is updated.

Have a look.

Posted at 2004-06-12 13:56:21 by RichardLink to Updated ab
Comments, trackbacks.

Errors in my AB to FOAF converter

I just noticed these problems in the current version of my Address Book to FOAF script (whilst I was playing around with RDFAuthor, actually!):
  • It generates <foaf:knows>PersonID</foaf:knows> rather than <foaf:knows rdf:resource="#PersonID" /> when producing relationships other than those of the subject
  • Generated rdf:ID and rdf:about fields do not have # prefixes.
Until I get around to fixing these (which will probably be accompanied by an improvement in functionality and possibly a change in implementation language), you'll have to use a clever set of string replaces. This took me a couple of minutes in Vim: just do some replaces on the fields above, adding in #s, and removing the ##s and #https that these replaces produce.

I found that :%s/^\ \/>/<\/foaf:knows>/g* was vital for fixing straight replaces of the foaf:knows problem!

* This will mean absolutely nothing to anyone who doesn't know the Vim editor. Sorry!


Posted at 2004-06-12 12:54:46 by RichardLink to Errors in my AB to…
Comments, trackbacks.

RDFAuthor


RDFAuthor has had another release. This is a great-looking Java/Cocoa application which uses Jena. Author RDF documents at your leisure!

Screenshot (displaying my FOAF file):

Posted at 2004-06-12 12:28:17 by RichardLink to RDFAuthor
Comments, trackbacks.

Hooray!

You'll probably be able to tell from looking at the links, but I've got my URL rewriting working. No more ugly query strings!

Hack job, but hey.

Also, thanks to Mark for pointing out a quoted string error on the answer page.

Posted at 2004-06-12 11:41:11 by RichardLink to Hooray!
Comments, trackbacks.

Google
Web holygoat.co.uk
  • richard is: