Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

From Scratch

RSS Reader

The next RSS reader from start to finish.

Issue: 4.5 (May/June 2006)
Author: Will Leshner
Article Description: No description available.
Article Length (in bytes): 13,105
Starting Page Number: 40
RBD Number: 4515
Resource File(s):

Download Icon 4515.sit Updated: Monday, May 15, 2006 at 4:53 PM
Download Icon 4515.zip Updated: Monday, May 15, 2006 at 4:53 PM

Related Web Link(s):

http://www.rbgazette.com/

Known Limitations: None

Excerpt of article text...

Introduction

This is the fifth of six articles in which we are creating an RSS Reader in REALbasic. In previous articles we learned how to use REALbasic's XML classes to parse RSS feeds, use the HTMLViewer class to display articles, and create a custom button control to use as a cross-platform toolbar button.

In this article we will look at one way to save RSS Reader's feed list to a preferences file. It turns out to be a tricky task. In fact, we will need to re-architect our code a bit in order to implement it.

As always, I encourage you to download the project that accompanies this article and use it as a reference as you read along. Things will make more sense if you are able to put it all into context.

A Persistent Feed List

The RSS reader we have been creating for the last four articles of this column is nearly complete. But one thing it lacks is the ability to remember its RSS feed list from one launch to the next. In this article we will implement the ability to save the feed list to a preferences file whenever the list changes, and then restore that list when RSS Reader launches. We will begin by implementing saving the feed list whenever the list changes. That part is simple enough. Then, we will tackle reading the feed list when RSS Reader launches. That's where we will run into trouble.

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com