Displaying RSS or ATOM content in ASP.NET ListView
I am having some trouble pulling RSS off of blogger page and publishing it on my own site. I am using SyndicationFeed to pull the data down and parse it.开发者_JS百科 I am able to accomplish this but not without quite a bit of code.
I feel like there should be a while of doing this in a few lines of code and bind that to the ListView.
Can anyone point me at a 'really simple' way to pull rss or atom feed off of another site and bind its contents into a ListView control on my page, including the content of each item?
This blog post describes an easy way using XmlDataSource
in ASP.NET:
- ASP.NET 3.5 ListView and DataPager : Making RSS Reader
Hope that helps.
Take a look to ASP.NET RSS Toolkit
精彩评论