This page contains various types of links with XFN relationships applied. Use browser DevTools to inspect each link and verify the rel attributes.
Here is a link to my friend John who I met at a conference. I also work with Sarah, my colleague, and here is a link to my personal website.
This button has friend + met + colleague relationships:
Image linked to a friend's portfolio:
YouTube embed from a friend's channel (XFN stored in metadata):
rel attribute in the HTMLrel="friend met"Open your browser console (F12) and paste this code to find all XFN links:
const xfnValues = ['contact', 'acquaintance', 'friend', 'met', 'co-worker', 'colleague', 'co-resident', 'neighbor', 'child', 'parent', 'sibling', 'spouse', 'kin', 'muse', 'crush', 'date', 'sweetheart', 'me'];
document.querySelectorAll('a[rel]').forEach(link => {
const relValues = link.rel.split(' ');
const xfnFound = relValues.filter(val => xfnValues.includes(val));
if (xfnFound.length > 0) {
console.log('✓ XFN Link:', link.textContent.trim());
console.log(' XFN:', xfnFound.join(', '));
console.log(' Full rel:', link.rel);
console.log('---');
}
});
When you inspect the links on this page, you should see:
rel="friend met"rel="colleague met"rel="me"rel="friend met colleague"rel="spouse"