256 Kilobytes

What is XFN? Link Relationship (XFN)

Articles in Content-Management Systems | By Hash Brown

Published 2 months agoFri, 15 Mar 2019 21:27:47 -0700 | Last update 2 months agoFri, 15 Mar 2019 21:28:32 -0700

Semantic HTML should be the goal of everyone. Now it's extended into people you know, has HTML semantics gone too far?

1,635 view, 2 RAMs, and 2 comments

XFN is an acronym that stands for XHTML Friends Network.

This is used by websites that want to link to other websites in order to help boost their search engine traffic through SEO.

A XFN link looks like this:

<a href="https://yourfriend.com" rel="friend">My friend!</a>

XFN is primarily used by bloggers to demonstrate that they are friends (or acquaintances) of the person who owns the website they are linking to. This is done with the rel="friend" attribute within the link.

You can even go further than this and markup the attribute to be more detailed, such as this:

<a href="https://yourcrush.com" rel="crush">My crush!</a>

In fact GMPG, the people behind this have come up with a whole fucking list of values you can use that describe pretty much all of the relationships you may have with someone.

Some of these options include:

Friendship Attribute Values

  • Acquaintance - someone you have spoken to, but not very much.
  • Contact - someone you hold contact information for.
  • Friend -  pretty self explanatory

Professional

  • Co-worker - someone who works at the same place as you
  • Colleague - someone you work with

Geographical

  • Co-resident - someone you live with
  • Neighbor - someone you live near

Family

  • Child - a fork of your DNA
  • Kin - extended family
  • Parent - person who forked their DNA for you
  • Sibling - version control of parental forked DNA
  • Spouse - person you fuck but more than a friends with benefits

Romance

  • Muse - someone who brings inspiration
  • Crush - someone you want to F
  • Date - Someone you're dating
  • Sweetheart - Someone you're intimate with

You can also add "met" so show you have actually met this person, like so:

<a href="https://domain.com" rel="parent met">Mother</a>

Why would I use this?

  • XFN is designed so that search engines and other such services will understand the relationship you have with these friends. They sometimes may chose to display this, which is super cool.
  • XFN link relationships are also more semantic, it displays more meaning.

A lot of people new SEO are afraid to link to their friends or even other websites that they own, this is a natural, "whitehat" way to do it that will eliminated any risk you may fear.

Is this some troll you made up?

No, this is real. It's been added to WordPress for a long time. You can see it in the links manager.

WordPress XFN Link Relationship

Yes, if this person is a co-worker you are dating that you are also living near you may use:

<a href="https://itscomplicated.com" rel="co-worker date neighbor">Mistake</a>

Is this the best way to tell someone I have a crush on them?

If you want to show them you have feelings, and you care about semantic HTML. Absolutely.

Users Who Have Downloaded More RAM:
August R. Garcia (2 months ago)
Huevos Rancheros (2 months ago)
🐏 ⨉ 2
Posted by Hash Brown 2 months ago

Edit History

• [2019-03-15 21:27 PDT] Hash Brown (2 months ago)
🕓 Posted at 15 March, 2019 21:27 PM PDT

Profile Photo - Hash Brown Hash Brown
πŸ—Ž 49 πŸ—¨ 312 🐏 121
Staff
Profile Photo - August R. Garcia August R. Garcia LARPing as a Sysadmi... Portland, OR
πŸ—Ž 136 πŸ—¨ 711 🐏 166
Site Owner

> Crush - someone you want to F

You mean someone who died recently

Users Who Have Downloaded More RAM:
Hash Brown (2 months ago)
🐏 ⨉ 1
Posted by August R. Garcia 2 months ago 🕓 Posted at 16 March, 2019 05:24 AM PDT

The CIA wants all code in the cloud under their lock and key. They want to ban compilers and make people think HTML is computer programming. - Terry A. Davis

Profile Photo - Huevos Rancheros Huevos Rancheros
πŸ—Ž 13 πŸ—¨ 66 🐏 36
Staff

I'd like to

<a href="https://domain.com" rel="sweetheart">Boink</a>

, if you know what I mean ;)

Download more RAM. 🐏 ⨉ 0 Posted by Huevos Rancheros 2 months ago 🕓 Posted at 16 March, 2019 06:38 AM PDT

Post a New Comment

To leave a comment, login to your account or create an account.

Do you like having a good time?

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account
You can also login to an existing account or recover your password. All use of this site is subject to terms outlined in the terms of service and privacy policy.