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

July 31st, 2009 at 12:33 am
Interesting! Would you be interested in building an AS library for Superfeedr so that nobody has to fecth and parse feeds by themselves?
August 1st, 2009 at 12:40 am
Thanks brother! Always love checking out the work you do. Hope you’re doing well with the move!
-Chris
November 11th, 2009 at 10:14 pm
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!
November 14th, 2009 at 10:24 am
@Danya,
The feed is set in NpRssDisplay Class. Not the most obvious place…
December 3rd, 2009 at 5:45 am
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?
December 3rd, 2009 at 11:22 am
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?
December 3rd, 2009 at 7:19 pm
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….
March 1st, 2010 at 3:00 pm
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 ,,,
March 1st, 2010 at 3:46 pm
so I have got answer allready …
using http://feedburner.google.com
thx for your work
bless you
March 1st, 2010 at 6:49 pm
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