Ezilon.com - Target Your Audience, be Seen in Your Region

Auto-Detecting Feed Locations

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.
fifeclub's picture

He has: 675 posts

Joined: Feb 2001

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?

Nip it in the bud!

JeevesBond's picture
Moderator

He has: 3,523 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. Smiling

a Padded Cell our articles site!

fifeclub's picture

He has: 675 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.

Smiling

Nip it in the bud!

brady.k's picture

He has: 1,383 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.

Kyle Brady, President, Intuitive Industries LLC.
http://www.int-ind.com
[EMAIL=brady.k@gmail.com]brady.k@gmail.com[/EMAIL] - [EMAIL=brady.kyle@int-ind.com]brady.kyle@int-ind.com[/EMAIL]