views:

65

answers:

2

I'm currently trying to parse the html page http://84.19.184.204:8000/played.html using JS.

But it's been hard since I'm new to JS... The html page contains a table which has the history of last played songs... This list is what I want to parse.

I use XMLHttpRequest() but I can't understand how to parse the elements :(

Can someone help me out?

Thanks, -Moto

A: 

Given the static nature of the layout of Shoutcast played.html pages, a regular expression would probably be the best choice to extract information. However, see my comment to your question as to why doing this in JavaScript might not be a good idea.

spender