You are hereCSS/HTML

CSS/HTML


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

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.

Rating: 
3

Reading: The story is dead + other weblinks

THERE are two big questions in journalism today: what is journalism?; how will the profession be paid for? While Rupert Murdoch's paywall plans for News International have fuelled the debate on the second question, there are more, yet diverse, arguments on what constitutes journalism.

Rating: 
3
Average: 1 (1 vote)

Latest FOI requests