stevie_d — 2010-07-15T17:44:44-04:00 — #1
I've done some accidental research on <link> elements and search engines....
I've used <link rel="home|index|next|last|etc"> for a long time, principally for people using accessibility software and Opera, and in the hope that other browsers would pick up on them in time, but I've always had a vague thought at the back of my mind that they might help search engines as well.
And now, completely by mistake, I've found a bit of an answer. I had a set of pages where I'd set one of the <link>s but mistyped the URL. When I looked at my logs the other day, it showed that a few spiders had tried to access the (wrong) URL. So the spiders definitely can and do follow the hrefs given in <link> elements.
felgall — 2010-07-16T16:41:57-04:00 — #2
To the best of my knowledge the only browsers that understand those links and use them as they are supposed to are Opera and iCab.
If they are also recognised by search engines then that makes them more useful.
It is a pity that so few browsers have fully implemented support for HTML 4.
stevie_d — 2010-07-16T06:20:25-04:00 — #3
I guess you'll be going for option 4 then
Within your <head>, you can include "site navigation links". The plan was that these would give user agents (ie browsers) a way to navigate the site without having to use the on-page menu. Unfortunately, the only browsers I've seen that actually implement this are Opera and Lynx. Firefox used to list the links but gave you no way at all of following them, but doesn't seem to even do that any more.
The way it works is that you list a series of link elements in the page head. eg
<link rel="home" href="/">
<link rel="next" href="article16.htm">
<link rel="copyright" href="/about/copyright.htm">
and so on.
The possible options for the "rel" attribute are: home, index, contents, search, glossary, help, first, previous, next, last, up, copyright, author.
scallioxtx — 2010-07-16T06:13:19-04:00 — #4
theemerchant — 2010-07-16T05:33:23-04:00 — #5
the poll makes me confused, what is that element for? is that for making a link??
felgall — 2010-07-26T02:41:46-04:00 — #6
The only ordering I am certain of is that iCab came before Opera - because I saw articles about it mentioning iCab before Opera implemented it. I was using Opera prior to that and saw it listed in the new features when I upgraded.
I hadn't been aware prior to this thread that lynx supported it (must have it turned off in the copy that's been sitting on my computer - either that or the copy I have of Lynx actually predates that change - which doesn't mean it wasn't first since I haven't updated Lynx in I forget how long).
That menu bar would be far more useful in a text browser so it quite probably was impllemented in Lynx or some other text browser first.
felgall — 2010-07-25T22:09:55-04:00 — #7
None of those create a menu entry the way that the ones previously listed do in those browsers that support them. The thread is specifically discussing those link tags that generate links in the browsers web page menu bar.
alexdawson — 2010-07-26T00:46:53-04:00 — #8
I'm not sure who the first was Stephen, but this chart is useful in showcasing which browsers support which implementations:
felgall — 2010-07-26T01:39:47-04:00 — #9
Well according to the page you just linked to Lynx was first followed by iCab second.
felgall — 2010-07-26T15:29:15-04:00 — #10
The problem is that if you use them at all you really ought to use as many of them as possible since when the menu is displayed it actually displays all of the links with only those that you have specified being actually active so if you only specify one then you are including a lot of disabled links in the menu.
mittineague — 2010-07-25T21:53:56-04:00 — #11
<link rel='shortcut icon'
mittineague — 2010-07-26T20:40:00-04:00 — #12
In defense of my ignorance I've never browsed with the Navigation Bar when using Opera so I was unaware.
This thread has opened my eyes and I'm sure glad I saw it.
@felgall, Thanks for the heads-up. I enabled the Navigation Bar and saw
and sure enough, only index was doing anything. I don't know if I can get them all but I'm definately going to try to get a few more of them in now.
felgall — 2010-07-25T23:46:56-04:00 — #13
iCab was the fhe first browser to implement this (to the best of my knowledge - at least I saw referencdes to iCab support prior to Opera implementing it).
alexdawson — 2010-07-25T22:57:09-04:00 — #14
Agreed, if you wanted to list all the rel items which don't produce a menu you could also churn out sitemap, apple-touch-icon, Dublin and gawd knows whatever else.
Ironically a few days ago I wrote an article examining all of the options relating to what you can place in a documents head (including the links in this topic).
mittineague — 2010-07-26T12:38:41-04:00 — #15
Out of those the only one I use all the time is "index".
None of my pages really fit the first/previous/next/last sequence. They're either standalone or parent/child. Although I suppose I could have the siblings call parent previous if I wanted to.
stevie_d — 2010-07-26T07:52:23-04:00 — #16
Yes, I could have been clearer - I was only referring to the <link> elements used for site navigation, not the various other uses. It's a shame that it has to be the same element in the same format being used in such completely different ways.
alexdawson — 2010-07-26T01:44:18-04:00 — #17
True, but I'm not sure as to how credible the information is (regarding who was first), I guess Lynx has remained relatively the same for years so it could be the first, but I'm not comfortable with just going on what that website says (as useful as the table explaining what browser supports what is).
alexdawson — 2010-07-25T21:30:22-04:00 — #18
I have made use of them in the past (though I've not noticed any SEO benefit), however I think they do have a genuine real-world use for navigating around large documents, especially research papers or specifications. If you take something like the HTML specification (where things are broken down into multiple pages and sections), having those link elements actually are really useful when trying to navigate around the website (I find them useful anyway!). Within large documents you could technically even link to an anchor fragment and thereby allow people to bounce up and down the page as required to find the key components they require. Just thought it was worth mentioning that it has some unconventional uses, I've found myself using a link with rel license as an active microformat in the head to direct to the creative commons license my site is bound by (and it's recognised by Firefox's microformat extensions)