Current .Net Version: 2.0.50727
Home
Articles
C# & .Net Framework Reference
Practice C# Online
XML Web Services
RSS Feeds
Code Snippets
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog




ROR XML Info.
Free ASP.NET RSS Feed Reader from DotNetFun.com
Author: Michael G.     Last Updated:12/31/2005 4:18:39 PM
Category(ies): ASP.NET/Web Forms 1.1
Description: I've built an RSS feed reader control you can use with your ASP.NET pages. The control is highly flexible, supports caching, failover and rotator capabilities.
  Add & View Comments About this Article

The RSSFeedReader ASP.NET control renders the contents of an RSS XML feed. The control provides numerous features such as failover, caching and rotating capabilities. The control also provides the ability to control how items can be displayed, the layout of the rendered product and well as its look and feel.

Below is a sample implementation that you can play around with to see how it works:

Example Use of the RSS Feed Reader

RSSFeedURL:
RSSFeedURLFailover:
RSSFeedRequestTimeout: (ms)
RSSFeedMaxItems:
RSSFeedUseRotator:
RSSFeedUseRotatorURLDelimiter:
RSSFeedUseRotatorURLs:
ControlLayoutType:
ControlLayoutTypeHorizontalNewRowAfterNItems:
ControlSuppressError:
ControlSuppressErrorDisplayHTML:
HeaderShow:
HeaderDescriptionShow:
HeaderDescriptionFontSize:
HeaderImageShow:
ItemsFontSize:
ItemsDescriptionShow:
ItemsDescriptionFontSize:
ItemsFontFamily:
ItemsHAlign:

Yahoo! News: Top Stories
Wednesday, July 05, 2006
White House: Missile tests 'provocative' (AP)

AP - The White House is calculating its response to North Korea's defiant Fourth of July missile tests which raised the stakes in a nuclear standoff and pressured the United States and its partners to penalize Pyongyang.


NASA calls Discovery launch a success (AP)

In this photo provided by NASA, The Space Shuttle Discovery and its crew lift off as seen from firing room four in the Launch Control Center, as NASA Administrator, Dr. Michael Griffin watches the launch, Tuesday, July 4, 2006, at Cape Canaveral, Fla. NASA's first-ever Fourth of July manned launch came after two weather delays and a new crack in foam insulation on the fuel tank. Shuttle managers said early video images showing small pieces of debris breaking away were not troubling. (AP Photo/NASA, Bill Ingalls)AP - NASA managers celebrated the success of the nation's first Fourth of July manned shuttle launch, saying they were not worried about a small piece of foam that broke off and hit the Discovery during its ascent.


N. Korea official: Missile test a right (AP)

South Korean protesters burn defaced a North Korean flag and portrait of North Korean leader Kim Jong Il during a rally against North Korea's missile launching near the presidential house in Seoul, Wednesday, July 5, 2006.  North Korea test-launched six missiles including a long-range Taepodong in an early morning barrage Wednesday, violating its own seven-year moratorium on such launches and defying stern international warnings of retaliation.  (AP Photo/Ahn Young-joon)AP - A North Korean foreign ministry official defended North Korea's missile tests as a matter of national sovereignty, a Japanese TV report aired in South Korea said.


This is an optional footer with some
  • HTML stuff
  • Installing the RSS Feed Reader Control

    1. Copy the RSSFeedReader.dll assembly and ../../articles/asp.net/RSSFeedReader.xm to your application's (IIS virtual directory's) bin folder.
    2. On the ASP.NET HTML page where you will be using the control, place the following directive towads the top of the page:
      <%@ Register TagPrefix="DotNetFun" Namespace="DotNetFun" assembly="RSSFeedReader" %>
    3. Place the control tag wherever you want the contents of the feed to appear. At the very minimum, set the RSSFeedURL property of the control:
      <DotNetFun:RSSFeedReader runat="Server" id="rssFeedReader" RSSFeedURL="http://rss.news.yahoo.com/rss/topstories" />

    RSS Feed Reader Control Reference

    Click here to view the ASP.NET RSS Feed Reader Reference page.



    Comments Click Here to Add your Comment
    By test @ 3/16/2006 4:17:34 PM

    test
    By Kriss @ 5/25/2006 4:48:45 AM

    Great and easy rss reader !!!!
    By Dave @ 7/3/2006 8:03:43 AM

    How do you edit/configure the output
     
    COPYRIGHT/DISCLAIMER | CONTACT US