![]() |
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. |
Re: FRC-Spy
Looks good, Can't wait to see all of this in action!
|
Re: FRC-Spy
Interesting, looks very promising.
|
Re: FRC-Spy
Would it be possible to add a penalty column?
|
Re: FRC-Spy
Quote:
|
Re: FRC-Spy
Looks good Brandon. You may well have just provided a way to automate Fantasy First :p
|
Re: FRC-Spy
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. |
Re: FRC-Spy
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. |
Re: FRC-Spy
Quote:
|
Re: FRC-Spy
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. |
Re: FRC-Spy
Quote:
Quote:
Windows XP Pro, IE 6.0.2900.2180_______, 1280x960 resolution with CD spread the whole width of my monitor. |
Re: FRC-Spy
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. |
Re: FRC-Spy
Quote:
|
Re: FRC-Spy
This will update automatically by the F.I.R.S.T. twitter? That's so cool :D
|
Re: FRC-Spy
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? |
Re: FRC-Spy
Quote:
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. |
Re: FRC-Spy
Brandon,
Does it make sense to release this code so other people can look at it and offer suggestions? |
Re: FRC-Spy
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 |
Re: FRC-Spy
Quote:
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. |
Re: FRC-Spy
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? |
Re: FRC-Spy
Quote:
The moon rocks columns show the number of moonrocks score by the alliance (humans + robots) under E and the number of Supercells scored under S. The data is pulled off of a Twitter feed that is updated by the official scoring software so it should be accurate. |
Re: FRC-Spy
Quote:
|
Re: FRC-Spy
Did you ever think of making the blue a little darker? It's kind of hard to see on some computers and hurts my eyes >.<
Just a suggestion, It looks great!!! :) |
Re: FRC-Spy
Look forward to using this.
|
Re: FRC-Spy
I know it is a test, but why isn't there an E-18 or E-9?
|
Re: FRC-Spy
Quote:
The "missing" matches are matches that are skipped because one alliance won the first two matches of the set. |
Re: FRC-Spy
Quote:
Also, I am not sure how to map "Elimination 20" to "Semifinal 1 Match 2". The Twitter data seems to use sequential numbers for Elims, which doesn't work as well as the Qual numbers do. |
Re: FRC-Spy
I made an xsl stylesheet for the xml file, it displays the data from frc.xml pretty fast. It doesn't look that great, but it shows up on the ipod touch well. It loads faster than frc-spy. I really haven't done that much web/xml development, so I am sure there are many mistakes, but it works. Once event filtering is in, it should automatically apply to what is displayed using this stylesheet.
to use, make this the second line of frc.xml Code:
<?xml-stylesheet href="format.xsl" type="text/xsl"?>Code:
<?xml version="1.0" encoding="ISO-8859-1"?> |
Re: FRC-Spy
I know it's a stretch, but do you think you could get team filtering as well, since it'd be nice to be able to just see your matches.
-Z |
Re: FRC-Spy
For some reason the Traverse City District Competition isn't being represented in FRC-spy. We have had about 25 minutes of events so far, but none of the results have been posted.
It may have something with TBA not updating the TCDC match listings though... |
Re: FRC-Spy
Quote:
|
Re: FRC-Spy
Quote:
|
Re: FRC-Spy
Quote:
|
Re: FRC-Spy
But http://www2.usfirst.org/2009comp/eve...chresults.html is completely updated
|
Re: FRC-Spy
Brandon, I notice for ties, one alliance is still lit up more than the other, shouldn't they both be lit up?
|
Re: FRC-Spy
Brandon, I am unsure of why this is wrong but for me the score for the last midwest final is showing up as
Quote:
EDIT: It is the twitter's fault now that I checked. But thats strange it would be off. |
Re: FRC-Spy
Quote:
Looks like it's fixed! |
Re: FRC-Spy
Quote:
Edit: I found an issue .. they both should be faded when there is a tie now. |
Re: FRC-Spy
Team and Event filtering is now available on FRC-Spy. Check it out, let me know of any weird quirks or additional features you need .. I've only tested this in Firefox on a Mac.
Aaaand, I should get some sleep. |
Re: FRC-Spy
Quote:
Two feature requests: 1) Highlighting of filtered teams. It is hard to pick out at a glance the teams I chose to filter. If they were bigger, bolder, a different colour, or something like that, that'd be great. 2) A mini-mode. This way, I could open a browser window, point it at FRC-spy, and have it only take up a little screen real estate. If I shrink the text with ctrl+scroll-wheel, the table stays about the same size. |
Re: FRC-Spy
Quote:
|
Re: FRC-Spy
Quote:
|
Re: FRC-Spy
It looks like no Michigan events are being reported... Kettering is not being published on Twitter :eek:
But, like Traverse City, it does have a connection as its results page is being published in real-time. |
Re: FRC-Spy
Brandon -- I'd just like to verify something ...
http://www.chiefdelphi.com/forums/frcspy.php?xml=2 This link has ALL regional data from this year that's available via the Twitter feed? |
Re: FRC-Spy
Quote:
|
Re: FRC-Spy
FRC Spy has been updated for this season's game (correct me if I missed anything).
I have to fix the filters and put the regionals in their correct week -- but Week 1 should be good. |
Re: FRC-Spy
The weeks on the filters for this year should be up to date now.
|
Re: FRC-Spy
Will FRC-Spy be updated for this year?
|
Re: FRC-Spy
Just got all this year's data in .. should be good now.
|
Re: FRC-Spy
thanks
|
| All times are GMT -5. The time now is 08:45. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi