You are hereCreating an RSS feed player (step one) [UPDATE]

Creating an RSS feed player (step one) [UPDATE]


By elksie - Posted on 07 September 2009

I've had a go at making my own RSS players before in Flash, but tended to give up as soon as it involved getting into the nitty-gritty of parsing the XML, with references to children and all that malarkey.

Then there's applications such as Google's Ajax Feed API which is pretty much useful in most situations when I've need to get an RSS list into a web page.

Here's an example on The Sentinel website.

I've decided to have another go at it for two reasons. 1) Just to prove to myself that I can. 2) to learn some basic principles that I can use for building more sophisticated projects all based on XML scripts.

The player below is my first attempt at building a reader using one of Flash evangelist Lee Brimelow simple-but-brilliant video tutorials.

Sorry, you need to install flash to see this content.

 

As you can see, the package works, but there is all sorts of extraneous HTML junk that I'll now need to sift through to make it fully useable.

If anyone can show me a really simple way of parsing through the gubbins then great. If not, I'll keep scratching around until I find something that works

UPDATE: Just one attribute was needed to make the change. Instead of feeding the XML feed into a clip with the attribute movieClip.text, it should have been movieClip.htmlText and then it works. Even brings in pictures.

Technorati Tags:Technorati Tags:
Rating: 
3

Photos

September 1RhosneigrRhosneigrRhosneigr

Upcoming events