RssFeed Documented Class Library

RssFeed Class

The RssFeed Web control displays a DataGrid-like view of an RSS feed. Examples of the RssFeed in action can be seen at http://aspnet.4guysfromrolla.com/blogs/aspnet.aspx and http://scottonwriting.net/demos/RssFeedDemos.aspx.

For a list of all members of this type, see RssFeed Members.

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         skmRss.RssFeed

public class RssFeed : WebControl, INamingContainer

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

RssFeed works with RSS feeds. The RSS 2.0 specification can be viewed at: http://blogs.law.harvard.edu/tech/rss.

The RSS 0.92 specification can be viewed at: http://backend.userland.com/rss092.

Limitations: RssFeed does not work if the connection to the Internet is through a proxy. To add proxy support, you'll need to use the WebProxy class when making an outgoing connection. See http://scottonwriting.net/sowblog/posts/406.aspx#429 for more information.

Example

[Visual Basic]

<%@ Register TagPrefix="skm" Namespace="skmRss" Assembly="skmRss" %>
<skm:RssFeed runat="server" id="myFeed"></skm:RssFeed>

<script runat="server" language="VB">
    Sub Page_Load(sender as Object, e as EventArgs)
        myFeed.DataSource = "http://www.myserver.com/Rss.xml"
        myFeed.DataBind()
    End Sub
</script>
[C#]
<%@ Register TagPrefix="skm" Namespace="skmRss" Assembly="skmRss" %>
<skm:RssFeed runat="server" id="myFeed"></skm:RssFeed>

<script runat="server" language="C#">
    void Page_Load(object sender, EventArgs e) {
        myFeed.DataSource = "http://www.myserver.com/Rss.xml";
        myFeed.DataBind();
    }
</script>

Requirements

Namespace: skmRss

Assembly: skmRss (in skmRss.dll)

See Also

RssFeed Members | skmRss Namespace