|
XrdFiles
about XRD
IntroductionEran, explain XRD files here, or link elsewhere. http://www.hueniverse.com/hueniverse/2009/03/xrd-sneakpeek.html http://www.hueniverse.com/hueniverse/2009/03/xrd-document-structure.html |
► Sign in to add a comment
Why XRD and not FOAF or another easily-extended, regular format?
Using RDF and the FOAF vocabulary makes a lot of sense.
The latest draft of XRD can be found in the OASIS svn repository here: http://tools.oasis-open.org/version-control/svn/xri/xrd/1.0/drafts/
+1,000,000 for FOAF.
-1 for any kind of RDF. This specification doesn't need to get bogged down in that can of worms.
FOAF is already in use for pretty much this kind of thing. http://foaf.qdos.com/ is one example of an email->user data search, and it even supports FOAF's md5(email) technique. Try "henry.story@sun.com" for an nice sample of what can be done. Or submit your own http://{user}.livejournal.com/data/foaf data if you have an LJ account, and then browse users from there.
I see no disadvantage of RDF over XRD. To the webfinger users, they're both formats that can be represented in XML that the users don't want to learn or type. But there are already lots of active FOAF generators, and the extensibility of RDF is better.
the reasons people use to think RDF was a can of worms were:
XML has gone donw a bit in favor now, though I think that is mistaken too, in favor of JSON and other just as mistaken moves. But nevermind.
What you should define is the Semantics of what you need. Then if you want a simple XML document as above, namespace is, write it out as you have above, and provide a GRDDL for your document to your ontology.
btw, there is an interesting discussion on the mailing list and an alternative proposal called fingerpoint that is more RDFish.
There is an interesting counter proposal called fingerpoint. See the discussion here: http://groups.google.com/group/webfinger/browse_thread/thread/e16791bbdf3c4606/1156e796e9b4ab46?lnk=gst&q=toby+inkster#1156e796e9b4ab46
or ... See More http://buzzword.org.uk/2009/fingerpoint/spec
As someone who only pops in every now and then to see how all its all unfolding... am invariably surprised by the endless hamster wheel spinning.
RDF just has this nailed. Its a shame RDF's XML serialization is so ... horrible. But the Turtle serialization syntax for example is very clean, easy to read, easy to generate, easy to parse and compact.
As a bonus, the whole impedance mismatch of serialized data <-> XML Graph <-> Language representation is avoided. In other words, Turtle syntax is really easy to parse and it maps readily into any language with dictionaries and lists/arrays.
A nice exercise is to map XRD are one's current webfinger into RDF (turtle syntax) with FOAF.