FRC-Spy

Similar to how CD-Spy shows a running list of forum activity … FRC-Spy makes use of FIRST’s new twitter feed and shows match results as they happen. Right now it lists all events … by next week, I’ll work in some event filtering. There are also some XML feeds (info at the bottom of FRC-Spy), if you want to use the data in your own application. A link to FRC-Spy is up top next to CD-Spy.

Let me know if you have any suggestions on how to improve this any.

Looks good, Can’t wait to see all of this in action!

Interesting, looks very promising.

Would it be possible to add a penalty column?

Done (I think … someone check my math, assuming the test data is valid)

Looks good Brandon. You may well have just provided a way to automate Fantasy First :stuck_out_tongue:

Column headers for the blue moon rocks are a bit askew (E is over S rather than next to it). Windows XP, 1280x1024 (both fullscreen and smaller window sizes), IE 6.0

Other than that really minor quibble, this is wonderful.

I am not fluent in XML.

Would it be possible to simply make a text file (tab delimited or otherwise) that we can download to get all the current scores? Since most of us will be playing with the data in excel anyway, it would make a very convenient way to grab the data for us non-fluent-web folks.

An extra bonus would be to have ALL the scores up to the current time, including all the weeks, available in the text file or in different text files.

Again, I don’t know how hard that is.

What browser, resolution, and OS?

Perhaps I’m going to get a quick tutorial. I downloaded MS’s XML viewer - but when I try to get to the xml, I get this error:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


Only one top level element is allowed in an XML document. Error processing resource 'http://www.chiefdelphi.com/forums/frcs

<match>
-^

FYI - columns look just fine in IE6.

Same issue here.

Windows XP Pro, IE 6.0.2900.2180_______, 1280x960 resolution with CD spread the whole width of my monitor.

I not sure if this is a browser issue or if this was a change to the formatting, but earlier today (when using Firefox), the losing alliance was a faded color. Now when checking again (using IE7), the losing alliance is not faded with the winning alliance outlined in a black line.

Maybe it’s personal perference, but I prefer the faded colors of the losing alliance to the box around the winning alliance; it’s easier to glance at the list to see which alliance won.

Both the fade and outline are still there (fade is in Firefox only, at the moment). I’ve got to fix it to be compliant and work in non-FF.

This will update automatically by the F.I.R.S.T. twitter? That’s so cool :smiley:

Ok. The XML is opening now rather than giving me an error. Perhaps I was was just too quick and the site hadn’t updated yet.

When we download the XML, will it contain every match played so far, or just the last 50?

http://www.chiefdelphi.com/forums/frcspy.php?xml=2 will give you everything

change the integer at the end to get the # you need. (must be > 2, for now)

http://www.chiefdelphi.com/forums/frcspy.php?xml=5 will give you the last 5

http://www.chiefdelphi.com/forums/frcspy.php?xml=25 will give you the last 25

etc.

Right now, this data will be approx. 30 seconds behind the twitter feed.

Brandon,

Does it make sense to release this code so other people can look at it and offer suggestions?

im thinking TBA should link off of some of this data to get the real time score updates, too (: (though im pretty sure im not the first to think of this)

maybe even some charts of moonrocks/minute, total penalties, g14 infractions, etc

It’s pretty ugly (did it real quick yesterday) … I may release some of it, eventually.

Pulling the data from twitter is just using magpierss to grab the twitter rss feed for the account (http://twitter.com/statuses/user_timeline/20603824.rss) which seems to update as fast as any API call (based on my 1 quick ‘test’ … that may need to be fixed if it gets too far behind). Once I grab the rss, I do a very crude parsing of the string and ‘replace into’ a database (keyed off an md5() of the ‘pubDate’ in the rss).

The front end just displays the last 50 rows … and has an Ajax.PeriodicalUpdater w/decay that cycles that data to the user way more than it needs to. When I get free time, I’ll work on a better way to only send down new data every request … not all data.

Can you please explain what colum means what? Also, is the moon rock score by just robot or robots and humans?

Edit: Also, how reliable is the data?