Roman Pelepei gives smart answers on questions about C# .Net, ASP .Net, WPF and Silverlight programming with examples and source code.
понедельник, 9 ноября 2009 г.
How to consume an XML feed in ASP.NET - RSS
XML is the standard for distributing content on the internet, however it can prove a challenge when trying to consume and handle the data retrieved from an XML document. This is the first in a two part series on consuming and displaying XML content on your own website. We will be using XPathDocument and XPathNavigator to select the information we want from the XML document and a simple repeater to display the information within our own website. I will also show a ridiculously easy technique that can be used to cache the consumed content so that every request to your site does not require a round trip to the XML document. Part one will use an RSS feed as the XML document, part two will use the same techniques to consume a Twitter feed. http://www.wduffy.co.uk/blog/how-to-consume-an-xml-feed-in-aspnet-rss/
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий