Actionscript 3 RSS Reader Demo

I made this as a simple test for RSS parsing for a job a little while back, and it never was used for anything, so I’ll post it here as it may be of use to someone.

Its a simple RSS parser that uses the RSS and Atom libraries http://code.google.com/p/as3syndicationlib/ to handle parsing its RSS feeds. Although parsing RSS is trivial, I wanted to use a provided Adobe library for the hell of it.

The file is not overly documented and uses my scrolling panel and scrollbar classes to handle scrolling the RSS items.

An example is below.

The Flash plugin is required to view this object.

Source Files
Here is the relevant source file; Rss Reader Demo (1220)

By downloading, you agree to the terms of use, outlined here: http://www.blog.noponies.com/terms-and-conditions

Dependencies
Zero

10 Neighs about “Actionscript 3 RSS Reader Demo”



Julien Neighed:

Interesting! Would you be interested in building an AS library for Superfeedr so that nobody has to fecth and parse feeds by themselves?

chris Neighed:

Thanks brother! Always love checking out the work you do. Hope you’re doing well with the move!
-Chris

danya Neighed:

I must be blind. After an hour I still am not sure.

Where are you setting which XML feed to use?

Apologies, and thank you!

Dale Neighed:

@Danya,

The feed is set in NpRssDisplay Class. Not the most obvious place…

tom Neighed:

why am i getting a random number assigned at the end of “?feed=atom” each time i test the rss.swf when linking to that xml feed?

Dale Neighed:

The demo adds in a random number to the end of each XML request to stop caching the XML file. Perhaps thats what you are seeing?

tom Neighed:

yes! exactly. is there something i need to add into a wordpress php somewhere that will recognize these random xml requests because when checking against each request, i receive the not a valid template error message in browser….

Robin Vehovský Neighed:

Hi man,
really nice piece of sripting, but … when I use whatever rss like google or similar it work only in flash. But I try it on localhost even web, no rss show only background. Your example work with your rss, did you put something special in your root…. ? Or where could be problem. I using crossdomain like this >

thanks a lot ,,,

Robin Vehovský Neighed:

so I have got answer allready …
using http://feedburner.google.com
thx for your work
bless you

rob Neighed:

Hi, well still got problem with feeds. Some works like cnn, yours, most dont work. So I find this feedburner.google.com. Make my feed.
It is valid …
http://feedvalidator.org/check.cgi?url=http://feeds.feedburner.com/aktu
But I can see only in firefox and opera. IE8 and chrome no way.
Could you try it? Please any idea why… All usuful czech feed not work directly. If I use it directly, work fine in flash but browser, even If I try lot of flash script to embed it, without feed burner no way.
And with it … just opera and firefox …
thx a lot for your time

Leave a neigh?