Seeking pure Javascript RSS news ticker

I'm looking for a Javascript news ticker that can read an RSS/Atom feed directly and display clickable headlines in a horizontal scroller.

This one does what I'm after, except that it's Windows IE-specific - I need something W3C-style (or preferably both combined):

I've had a good google and looked around Sourceforge, but there doesn't seem to be anything around. There are several that claim "works with 1 line of Javascript", but they're actually Java applets.

Alternatively, if someone could rephrase this script in W3C style, that would be great (and worth more points).

Pointers please?
LVL 25
Marcus BointonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

web pages can not read streaming data with js alone, you need a plugin.
Marcus BointonAuthor Commented:
I don't think that's true. RSS is not a continuous stream, it's just a static resource that you request via a simple HTTP transaction, and as such is easily handled using XMLHTTPRequest objects (even asynchronously) from JS, and its content is all plain XML, which is readily parsed by JS dynamically. i don't see anything stopping this from working.

I've found JS-only examples that generate lists of news items directly from RSS feeds, and there are tickers around for displaying arbitrary text - what I'm after is something that combines the two. My JS is just not up to it...
the term "feed" left my with the impression you wanted to stream the data. If it is static resource it may be possible but I am sorry I do not know how. :(
Hi Squinky,

Funny ,the link you posted is not so much away from mine,... :-D

Here you will find a tip on how you could write a Jscript that works in, quote :" This is a DOM script that will work in 5th generation browsers like Internet Explorer 5+, Mozilla/Netscape 6+, Opera 7+, Safari 1.2+ and ICEbrowser"
If that's not what you are asking for,.... please do specify.

So, ... if you 're stuck in javascript on this, I can write you the code, but again, please be more specific. :-D


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Marcus BointonAuthor Commented:
That's a nice solution for the reading part, and it's good that it has an RSS solution too - the createTable function would need to be rewritten build a ticker instead, much like the example I found. I'm not bothered about compatibility beyond IE, Mozilla and Safari - people using old browsers can just do without it!

Apple has a good guide on the XMLHTTPRequest object here:

So, I do now seem to have all the pieces - but it remains a matter of putting them together - fancy having a go? I'll increase points for that!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.