Author: cdubone | Posted on: 2/13/2010 7:00:01 PM | Views : 304

I'm building an rss reader using this code:  

        XmlReader reader = XmlReader.Create("http://www.example.com/blog/atom.xml");
        Atom10FeedFormatter formatter = new Atom10FeedFormatter();
        formatter.ReadFrom(reader);
        reader.Close();

        Repeater1.DataSource = formatter.Feed.Items;
        Repeater1.DataBind();
So far so good. Now I need to limit it so that just the top 3 items show, rather than all of them. What's the best way to accomplish this?

...

Go to the complete details ...