Auto-Detecting Feed Locations
The standard location for a favicon.ico file is in the root directory (and for it to have that exact name). There's a tiny bit of meta code that you can add to your header that redirects the browser if the file is in a non-standard location or has a non-standard file name.
I've been told that there is some sort of equivalent code for blogs feeds that will help the browser locate the rss or atom feed if it is not located in the root directory. What is that code?
JeevesBond posted this at 20:05 — 22nd June 2007.
He has: 3,956 posts
Joined: Jun 2002
Do you mean:
<link rel="alternate" type="application/rss+xml" title="The Webmaster Forums RSS Feed" href="external.php?type=RSS" />
(substitute the href for the URL of your RSS document)
If you look at the source of this site you'll see that in the [incode][/incode] part of the document.
a Padded Cell our articles site!
fifeclub posted this at 20:34 — 22nd June 2007.
He has: 688 posts
Joined: Feb 2001
I'll have to try it out but that looks like what I needed. I noticed that whenever I entered the url of my blog into either iGoogle or Google Reader, it couldn't locate my feed. This should help me (or others) out a bunch. Thanks.
kb posted this at 06:28 — 23rd June 2007.
He has: 1,380 posts
Joined: Feb 2002
Yeah, that's the standard method for RSS recognition. It doesn't even matter whether it's "technically" RSS or ATOM or whatever... as long as you have that link ref, most modern browsers will recognize it in some fashion.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.