Reputation: 73988
I use Asp.net Web Forms and C# 4.
I have content in DataBase table and I would like publish it as RSS for my website.
My questions:
Thanks
Upvotes: 6
Views: 6679
Reputation: 204259
Don't do it by hand - use the built-in System.ServiceModel.Syndication classes to generate the feed for you. Then you know it's compliant with whichever format (RSS or ATOM) you generate.
Here's an article that walks you through it:
[How to create a syndication feed for your website][1]
[1]: http://dotnetslackers.com/articles/aspnet/How-to-create-a-syndication-feed-for-your-website.aspx [NOT WORKING]
Upvotes: 9
Reputation: 5561
You can found this tool very useful
Creating SQL Based RSS Feed [DEAD LINK]
Upvotes: 0
Reputation: 21237
Well, MSDN has a relatively-straightforward tutorial on how to generate RSS 2.0 from ASP.NET, found at http://msdn.microsoft.com/en-us/library/aa478968.aspx. It's really not terribly hard, so I would recommend doing it if you're wanting to learn something.
Upvotes: 3