|
|
|
#1
|
|||||
|
|||||
|
Re: FRC-Spy
This will update automatically by the F.I.R.S.T. twitter? That's so cool
![]() |
|
#2
|
||||
|
||||
|
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? |
|
#3
|
|||||
|
|||||
|
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. Last edited by Brandon Martus : 25-02-2009 at 15:03. |
|
#4
|
|||||
|
|||||
|
Re: FRC-Spy
Brandon,
Does it make sense to release this code so other people can look at it and offer suggestions? |
|
#5
|
||||
|
||||
|
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 |
|
#6
|
|||||
|
|||||
|
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. |
|
#7
|
|||||
|
|||||
|
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. |
|
#8
|
|||||
|
|||||
|
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? |
|
#9
|
|||||
|
|||||
|
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. |
|
#10
|
|||||
|
|||||
|
Re: FRC-Spy
Quote:
![]() |
|
#11
|
||||
|
||||
|
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!!! ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CD-Spy | Brandon Martus | CD Forum Support | 8 | 07-02-2007 21:26 |
| Spy vs. Spy and Mountain Dew | Jay H 237 | Chit-Chat | 5 | 22-11-2004 21:21 |
| Spy School | Joe Matt | Chit-Chat | 1 | 04-05-2003 23:41 |
| Segway Comic--Spy vs. Spy | Amy Beth | Dean Kamen's Inventions | 4 | 14-05-2002 06:02 |