Real simple example, using an XmlDataSource and my new super best friend, the ListView control;
<asp:ListView ID="RSSList" runat="server" DataSourceID="RSSData">
<LayoutTemplate>
<ul>
<li id="itemPlaceholder" runat="server" />
</ul>
</LayoutTemplate>
<ItemTemplate>
<li><h2>
<%#XPath("title") %>
</h2>
<%#XPath("author") %>
<a href='<%#XPath("link") %>' title=''>View Original Post</a>
</li>
</ItemTemplate>
</asp:ListView>
<asp:XmlDataSource
ID="RSSData"
runat="server"
DataFile="http://www.shawson.co.uk/codeblog/feed/"
XPath="rss/channel/item">
</asp:XmlDataSource>
Related posts:
- Asp.net nested ListView control’s, with edit functionality- example
- How To Display Hierarchical Data Using Nested Repeater Controls and Visual C# .NET
- Using FindControl to find a repeater nested inside a repeater with HeaderTemplate or FooterTemplate defined
- Visually build XPath using “Sketch Path”
- How to run SQL Profiler against local SQL Express instances










