How to add RSS Autodiscovery to your site
I sometimes see web sites or blogs that have RSS feeds, but fail to include the one line of HTML that enables RSS autodiscovery. Even some well known blogs such as 37 Signals - Signal Vs Noise omit the feature. Jason Kottke's blog has autodiscovery support on the main page, but not on his entry pages.
Adding that one line of code to your template will make it easier for people to subscribe to your RSS feed. Here's how:
<link rel="alternate" type="application/rss+xml" title="RSS Feed for petefreitag.com" href="/rss/" />
The above link tag should be added inside the head tag of your HTML document.
You will of course need to change the value of the title and href attributes to fit your needs.
If your feed is an ATOM feed you will want to change the type to application/atom+xml.
If you have multiple feeds for the url you can just specify multiple link tags.
When you enable autodiscovery for your rss feed it allows browsers and aggregators to automatically detect the RSS feed when your browsing, and it makes it easy for the user to subscribe to it. Both FireFox, and Safari 2.0 support autodiscovery of RSS feeds out of the box, here's what it looks like when you find one:
Tweet
Related Entries
- Foundeo's 2007 End of the Year Sale - December 21, 2007
- Yahoo Pipes Generates Invalid RSS Feeds - February 22, 2007
- SoloSub is for button addicts - October 6, 2005
- Google Sitemaps Accepts RSS and Atom Feeds - September 12, 2005
- The Proper Content Type for XML Feeds - June 13, 2005
Trackbacks
- RSS Autodiscovery Blogantics
- RSS and Atom feeds autodiscovery code RichardByrom.com
- Cara aman Uji coba Amplifier Rakitan Ciledug Media
- Memperkeras suara Amplifier Blazer tanpa disengaja Ciledug Media
- Rumus menghitung Volt Elco Ciledug Media
Comments
http://www.washingtonpost.com/wp-adv/rss/front.htm
i.e., I don't see any autodiscovery for it.
On your website, and on the WSJ feed website, I do see the auto-discovery icon on Firefox. I know how to subscribe when the icon is there but how does one subscribe when the icon is not present.
I inserted the above code in the index.html of my site http://www.search-wiz.info but nothing happened. If you have time look at the site and click on view source and you'll see the code, but nothing is appearing on the page.
I'm new at this, but isn't the graphic above supposed to show up on the page somewhere? And, if so, how do you control where it is going to show up on your page, by just pasting the code between the head tags? Obviously I'm confused.
Help...Ray
http://runstream.com
http://www.feedest.com/toolAutodiscovery.cfm
Hope this helps.
www.blogindiversity.com
www.memotrek.com/blog/
Can any one help me with making RSS autodiscoverable when rss is present in iframe of the page????
Booya! http://www.epiclosers.com/
thank you so much....
I mean I understand that this blog post helps, but it's just kinda odd (at least for a large company like Google).
title="RSS Feed for petefreitag.com" href="/rss/" />
I should put my site name and my feedburner URL after the href=?
I am on blogger.
Its working! :-)
Post a Comment
Recent Entries
- Writing Secure CFML cfObjective 2013 Slides
- Upgrading to Java 7 on Linux
- J2EE Sessions in CF10 Uses Secure Cookies
- Learn about ColdFusion Security at cfObjective 2013
- Session Loss and Session Fixation in ColdFusion
- FuseGuard 2.3 Released
- CKEditor Spell Checker Plugin
- Adobe Says Go Ahead and Upgrade your ColdFusion JVM


add to del.icio.us


