• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

13. Subscription and Aggregation with RSS > 13.8. Build Your Own RSS Consumer

Build Your Own RSS Consumer

You don’t have to use a prebuilt RSS aggregation tool or RSS consumer. Because of the restrictions and constraints placed on RSS, it’s relatively simple to build your own application that processes RSS and displays the results. You can use technology that is designed for XML or RDF (demonstrated throughout the book), or you can use technology specifically designed for RSS.

To demonstrate, I created an application to process the book recommendation RSS feed shown in Example 13-5. It uses an RSS API written in Java to process the RSS (any RSS) from a JSP page.

I’m rather partial to J2EE applications and have a Tomcat installation at my web site. My first inclination when creating a new dynamic web application is to see if there is a Java API I can use within JSP pages. In the next example, an RSS specialized API is used—a brand new API called the Informa RSS Library, available at Source Forge (http://sourceforge.net/projects/informa/.. This API provides Java classes that allow you to access specific pieces of RSS data, rather than having to write the XML parsing aspect of the code.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint