rel="sweetheart"
from XFN 1.1 relationships meta data profile
- sweetheart
- Someone with whom you are intimate and at least somewhat committed, typically exclusively. Symmetric. Not transitive.
I recently learned about microformats, which are a set of standards for including data within HTML elements. I like data, so I'm drawn to the concept of the "data-rich web page" that microformats make possible. My introduction to the idea was the IndieWeb's page on rel="me", a way to indicate that different webpages represent the same person. It works by turning a regular old <a href="link.html"> into <a href="link.html" rel="me">, and having the linked page reciprocate with its own rel="me" link back to the first, so that web parsers are able to verify that the two URLs belong to the same individual. The average person's web presence is rarely confined to a single domain, so it is useful to have a standardized way to connect various profiles.
The "rel" in rel="me" is short for relationship, and the microformats for describing relationships between people are defined by the XFN (XHTML Friends Network). You can indicate that someone you're linking to is a friend or family member, or describe the professional or geographic nature of your relationship. There are even options for romance. rel="sweetheart" (defined above) is the one I find the most charming, but there are three other values in the "romantic" relationship category:
- muse
- Someone who brings you inspiration. No inverse.
- crush
- Someone you have a crush on. No inverse.
- date
- Someone you are dating. Symmetric. Not transitive.
By adding XFN attributes to links, your site becomes a part of a decentralized social network. The data in these links can be understood by programs, which can then assemble that data into a giant map of human relationships across the personal web.
... Don't get me wrong. I like maps. But I can't help but ask "what is the point?" I understand that people are interested in people; it's fun to know who's friends with who, who's dating who, et cetera. But on a personal website, with full creative freedom, why should this information be relegated to semi-obscured data instead of being clear from the text within or around the link?
The data must be useful for something, right? The following excerpt comes from the official XFN site in a section described as "future potential" on the homepage and "delusions of grandeur" on the section itself:
"Commercial services like Amazon, which currently ask users to manually register all their friends in order to make "wish list" and other information sharing simpler, may find it easier simply to crawl XFN relationships on the open Internet. This would allow a user to enter the URL of their site, and let the service programmatically analyze XFN relationships to build a list of friends."
Is this all the data is good for? To help Amazon make sales?
Does it really matter if a parser is able to interpret my connections to people? The more I think about it, the more hostile to the idea I become.
rel="sweetheart" is a little treat for someone inspecting the source code, but is it worth it? When I link to my sweetheart, I don't want you to have to go digging for meaning! I want it to be obvious!!
I link to my sweetheart on my "about me" page, because my love for him is a big part of what I'm about.
I link to my sweetheart on my sticky note gallery page, because he's the one I draw them for.
I link to my sweetheart on my bugs page, because he made bug gifs for me when I was new to making websites and wasn't sure what to put on the page.
I link to my sweetheart on my bookmarks page, because I have a section on artists I admire and he is my favorite artist.
As my site grows, so too will the number of contexts in which I link to my sweetheart. Maybe one day there will be so many that even a web crawler will understand that he's an integral part of the web I'm trying to weave. But that isn't the point.
I link to my sweetheart, my muse, my valentine here and now, not with a rel="sweetheart" tucked away in the source code, but with unambiguous anchor text, with <big>, with <strong>, and with <em>.
I link, not for crawlers and scrapers and parsers, but for human beings. I link so that you, the person reading this, will know how important he is to me.
Ben, if you're the one reading this,
.-"""-. .-"""-.
/ `..' \
; ___ _ _ ;
| | | / \| ||_ |
; _|_ |__\_/|/ |_ ;
\ _ /
\__ \_// \| | /
_ / | | \_/\_/ /'
| \ \/_/\ /'
\_\| / __ `\ /'
\/_/__\ `\/' .--='/~\
____,__/__,_____,______)/ /{~}}}
-,-----,--\--,-----,---,\'-' {{~}}
jgs __/\_ '--=.\}/
/_/ |\\
\/