Article Preview
Buy Now
COLUMN
RSS Reader
The next RSS reader from start to finish.
Issue: 4.2 (November/December 2005)
Author: Will Leshner
Author Bio: Will Leshner has spent a good deal of the last several years having a blast building REALbasic applications, utilities, and plugins. His REALbasic accomplishments include KidzMail and KidzLog. You can also check out his REALbasic weblog at
Article Description: No description available.
Article Length (in bytes): 13,503
Starting Page Number: 38
Article Number: 4218
Resource File(s):
4218.zip Updated: 2005-11-17 12:42:09
Related Web Link(s):
http://www.rbgazette.com/
Excerpt of article text...
Introduction
This is the second of six articles in which we are creating RSS Reader in REALbasic. In the previous article we talked a bit about what RSS feeds are and the kind of reader we will build to fetch and read them. We didn't get a chance to write any code in the last article, but that situation will change in this article as we implement adding, fetching, and parsing RSS feeds.
I urge you to download the project that accompanies this article and follow along there as you read here. Things will make more sense if you are able to put it all into context.
Adding An RSS Feed
Let's begin by implementing the ability to add an RSS feed to RSS Reader. The only piece of information we really need in order to add a new RSS feed is a URL for the feed. It is possible to discover the URL for an RSS feed automatically from a site's HTML (if the site has a feed and has placed the proper information about the feed in the HTML), but we won't attempt to implement automatic feed discovery right now. Instead, we will force our users to discover the RSS feed URL for themselves.
...End of Excerpt. Please purchase the magazine to read the full article.