Getting real-time info from the internet
Mag748
Posts: 266
I am working on an LED Matrix display project at the moment, and I am doing research into the different things that I can display. I am already going to cover the basics like time, temperature, simple messages from a computer, etc. One idea that was suggested by a friend who is interested in sports was a way to display scores of a game in progress, much like a score board you would find in the stadium/arena. This way my friend can flip the channel to something else and still see the score for the game he is watching.
In order to accomplish this, I would need some way to gather the current score from the internet in real-time. There are many websites that give this information, but I am not sure of the best way to do it. I was originally thinking some kind of RSS feed or something like that, but I don’t know of any that update instantaneously. Most are delayed, or only refresh every 15 minutes or so. Some websites have a flash based real-time score/play-by-play display on their website. It would be great if I could "scrape" the score from that somehow.
Does anyone have any idea who this could be done? I don't know much when it comes to networking/web development. I would imagine writing an app that ran on a PC, then beam the parsed info to the Display would be the easier solution. But if there is a way to do all that parsing directly from the internet, using a PINK or something, that could be an option too. Thanks, Marcus.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
In order to accomplish this, I would need some way to gather the current score from the internet in real-time. There are many websites that give this information, but I am not sure of the best way to do it. I was originally thinking some kind of RSS feed or something like that, but I don’t know of any that update instantaneously. Most are delayed, or only refresh every 15 minutes or so. Some websites have a flash based real-time score/play-by-play display on their website. It would be great if I could "scrape" the score from that somehow.
Does anyone have any idea who this could be done? I don't know much when it comes to networking/web development. I would imagine writing an app that ran on a PC, then beam the parsed info to the Display would be the easier solution. But if there is a way to do all that parsing directly from the internet, using a PINK or something, that could be an option too. Thanks, Marcus.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
You could look at the yahoo widgets and check out how they get the information from RSS feeds.
Of course the widgets are in javascript but its a simple language to learn/modify.
Thanks,
Marcus
http://www.ladyada.net/make/ybox2/
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering