Reputation: 21
I have built an RSS feed and consume it in asp.net page.
In this page i want add a button that enables users to subsribe to the feed so that they stay updated with news(and informed).
If is that is not possible,should i work with a third party(feedblitz,...)
Thanks.
Upvotes: 2
Views: 988
Reputation: 2389
you should use .ashx instead of .aspx pages as RSS data source. Then Use
<link rel="alternate" type="application/rss+xml" title="My Feed" href="RSSFeed.ashx" />
in head tag.
Upvotes: 3
Reputation: 108
Usually this is just a link to the RSS that the user can open in their chosen reader and subscribe there.
If you add a link in the HTML element then a RSS icon will appear in the location bar in the more modern browsers.
<link rel="alternate" type="application/rss+xml" title="My Feed" href="feed.xml" />
Upvotes: 0