Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 4.2

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 http://www.rbgazette.com/.
Article Description: No description available.
Article Length (in bytes): 13,503
Starting Page Number: 38
Article Number: 4218
Resource File(s):

Download Icon 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.