Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RSS Auto Discovery

Tags:

html

xml

rss

feed

I've been doing web dev for years, but this is my first jump into XML. I've created an RSS feed and I cannot figure out how to get the browser to "discover" my feed and display the little RSS icon in the address bar. The website in question is: http://www.aurorafxstudios.com/blog and my RSS feed is at: http://www.aurorafxstudios.com/blog/rss.php ...any help would be greatly appreciated. Thank you!

like image 211
Jesse Leite Avatar asked May 30 '12 03:05

Jesse Leite


2 Answers

The 'official' version of the feed auto-discovery mechanism can be found at http://www.rssboard.org/rss-autodiscovery.

Assuming you have one or more discovery links published (MIME type depends on feed format):

<link rel="alternate" type="application/rss+xml" title="human-readable label" href="http://www.aurorafxstudios.com/blog/rss.php" />

You can verify its presence in a number of ways. For example in IE 9 you can hit Alt + T (Tools) and verify your discovery link is listed under the Feed Discovery menu option.

Many consumers of your feed are going to retrieve it via a feed reader, most of which will accept the URL of your web site and locate the feeds you publish via the discovery link(s) and then present them to the end user. You might consider using a feed reader to verify your discovery links work.

As long as you follow the specification I would not worry about the variety of behaviors that you will see exhibited by different browsers.

like image 188
Oppositional Avatar answered Oct 03 '22 03:10

Oppositional


Add the following within your 'head' tag.

<link rel="alternate" type="application/rss+xml" title="Name of Your Feed" href="http://www.aurorafxstudios.com/blog.xml" />
like image 35
Philip Kirkbride Avatar answered Oct 03 '22 03:10

Philip Kirkbride