RssFeed Demo

This demo illustrates using the RssFeed control to display the items from an RSS syndication feed. Note that it doesn't look particularly pretty - in the next demo we'll see how to use the RssFeed control's properties to improve the aesthetic appearance.


There was an error reading this XML feed...


Source Code
<%@ Register TagPrefix="skm" Namespace="skmRss" Assembly="skmRss" %>
<script language="C#" runat=server>
   private void Page_Load(object sender, System.EventArgs e)
   {
      if (!Page.IsPostBack)
      {
         sow.DataSource = "http://scottonwriting.net/sowblog/Rss.aspx";
         sow.DataBind();
      }
   }
</script>

<skm:RssFeed id="sow" runat="server"></skm:RssFeed>


[Return to the article...]