O'Reilly logo

RSS and Atom in Action: Web 2.0 Building Blocks by Dave Johnson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. How to parse newsfeeds

Learn how to use standard XML parsing techniques and specialized newsfeed libraries to parse all forms of RSS and Atom format newsfeeds.

Now that you know the history of newsfeeds and understand the differences between the RSS and Atom formats, you’re ready to learn how to parse newsfeeds—how to read in and use newsfeed data in your programs. We’ll also discuss how to fetch newsfeeds—how to efficiently (and politely) retrieve them from the Web.

We’ll start the chapter by discussing how to use XML techniques to parse newsfeeds, with examples in both C# and Java. Along the way, we’ll help you learn how to solve the problems you encounter as you apply these techniques to the numerous slightly different newsfeed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required