Search This Blog

Friday, February 29, 2008

ASP.NET ATOM Feed auto-discovery

Adding a RSS feed auto-discovery code to your site is essentially a usability feature. It allows browsers capable of RSS auto discovery such as IE7, Firefox and Safari to display a nice RSS icon RSS.




How to do that?

add below code to your rss feed after <?xml version="1.0" ?>

<link rel="alternate" type="application/rss+xml" title="Top new 20 posts rated" href="" />

for ATOM feed

<feed xmlns="" xmlns:xxxx="">

where is the feed url

Let me know if you need more info.

No comments: