Dougal Campbell's geek ramblings

WordPress, web development, and world domination.

XFN 1.1

I read yesterday from Tantek and Eric that XFN has been upgraded to version 1.1. They’ve added three new values: contact, kin, and me. The me value is under an entirely new “identity” category, and is exclusive of all other values. Eric has some additional notes on the usefulness of me.

Since Matt didn’t do it already, I added support for XFN 1.1 to WordPress. The changes are in CVS, so they’ll show up in the next Nightly Build, and eventually in WP 1.3.

About Dougal Campbell

Dougal is a web developer, and a "Developer Emeritus" for the WordPress platform. When he's not coding PHP, Perl, CSS, JavaScript, or whatnot, he spends time with his wife, three children, a dog, and a cat in their Atlanta area home.
This entry was posted in Blogs, Tech and tagged , . Bookmark the permalink.

5 Responses to XFN 1.1

  1. Pingback: HREF - Anne’s Weblog about Markup & Style

  2. Geof says:

    Thanks for adding it in to WP. I like WP’s little form in the Links Manager for adding XFN values, but what frustrates the crap out of me is that you can’t add values that aren’t in the form! I know that rel=”blah” is largely being used by XFN, but there are other uses for it, and it frustrated me that I couldn’t hand-enter “me” rel values.

  3. BTW, technically, the “me” value is supposed to be exclusive of all other values. But there is nothing currently in the code to enforce that. I don’t have time to dive into the javascript and do the error checking myself right now.

    See Petroglyphs: Fun with XFN for amusing examples of what kinds of non-standard relations one could imply by toying with or ignoring the XFN specs.

  4. Tantek says:

    Dougal, thanks for your kind note!

    BTW, you said above:

    … the “me” value is supposed to be exclusive of all other values. But there is nothing currently in the code to enforce that.

    Not true! Check out the updated XFN 1.1 Creator which does enforce the mutual exclusivity of the “me” value.

  5. I only meant that there is no enforcement in *my* code that I added to WordPress. I added form fields to accomodate the new values, but I didn’t have time to work on front-end or back-end error handling for the ‘me’ relations.

    Anyhow, I think the new additions are good ones. In particular, I’ll probably be using ‘contact’ a lot. I have a lot of ‘acquaintance’ relations that will probably drop down to ‘contact’.

Leave a Reply

%d bloggers like this: