PDA

View Full Version : Webcast portal - first pass


StevenB
03-14-2011, 09:03 PM
I've taken the last couple days to code up a simple webcast portal. The intended audience is people who are interested in a particular team at a single regional: your friends, your family, any sponsors who can't watch it live, etc. I hope people inside of FIRST will like it too, but just remember that it has a specific audience, and isn't trying to compete with things like the MMRambotics multi-feed page.

I plan to have Week 3 regionals all up and running by Thursday night. The event codes match the FRC FMS event codes. PM me if you have a webcast link you'd like me to add.
- Granite State Regional: http://botsnlinux.net/frcwebcasts/webcast.php?event=NH
- Upcoming Oklahoma Regional: http://botsnlinux.net/frcwebcasts/webcast.php?event=OK
All of the Week 1 and 2 events should be up; just change the event code at the end of the URL.

The source code is available here (http://botsnlinux.net/frcwebcasts/frcwebcasts_14mar11.zip). It uses a Python script to grab tweets from the twitter feed, parses the data, and puts it into a mysql database. Later this week, I'll set up the script to grab new tweets every few minutes. PHP code reads from the database and displays the page.

I would love comments and feedback on any of this work. If there is interest and my school schedule permits, I will keep the site updated through the end of this season. For next year, I'd like to see it be subsumed by another project or evolve into something more permanent and maintainable.

RoboMaster
03-14-2011, 11:50 PM
Sounds like a great idea! Keep it up, would like to see more.

However, the above links don't work. I tried NY for the week 2 New York regional; that didn't work either. Couldn't think of any others off the top of my head.

EricH
03-15-2011, 01:19 AM
Firefox doesn't like the links--gives an error message (site-side).

StevenB
03-15-2011, 06:41 PM
Fixed the links. I made a stupid error posting them the first time.