Forum Moderators: open
I have a website built with ASP and SQL Server. I want to create a feed which will display my newest 10 articles, posts, etc..
How do I do it?
Also should a feed have an .xml extension?
I found an article somewhere and used it to create this < feed I named rss.asp >
But, it doesn't work at least not in Internet Explorer.
Thanks.
[edited by: tedster at 7:39 pm (utc) on Jan. 2, 2008]
[edit reason] no links, please [/edit]
With IIS you'll want to set the MIME-TYPE [webmasterworld.com] in the header.
However once again I am still at a lost as to how to create a rss feed using ASP classic?
A dynamic rss feed.
What am I missing. I don't know anything about xml, but why is is so hard to find code which I can reuse?
There seem to be no resources on the internet. I have searched. Nothing.
Now I want this to be a feed .
So visitors can subscribe to it and it should always have the newest 10 posts.
Or the most popular 10 posts or whatever.
How do I turn this into a feed with an .xml extension which will be picked up by IE and feed readers?
I don't want to have to go every day and run the code and then create a feed from it. It needs to be dynamic just like the feeds all over the wonderful internet. But how do I do it.?
Thank You for your help and interest.
Here's an article that might get you started: Personalizing RSS Feeds with ASP.NET 2.0 [aspnet.4guysfromrolla.com]