View Single Post
  #5   Spotlight this post!  
Unread 04-09-2011, 20:10
quinxorin quinxorin is offline
Mentor now :(
AKA: Ian Pudney
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Lightning Robotics
Posts: 148
quinxorin will become famous soon enough
Re: Match Results API for your website

Quote:
Originally Posted by lemiant View Post
I really like the functionality, but the IMHO the display on your website is a bit tacky. Maybe some rounded corners or AJAX refresh would help.
It DOES have AJAX refresh!
It works by loading a cached copy first, then uses AJAX to replace it with an updated version once the server is done scraping it from FIRST. It then refreshes automatically every 60 seconds. If you click the "Refresh" link (which disappears once the AJAX does it's thing) it will force the page to be updated server-side before being sent to the browser.

It doesn't normally scrape before transmitting due to the several-second lag caused by scraping the data from FIRST.

Also, that very obvious notice about our team's first meeting isn't normally there, obviously. That makes it look rather ugly.
__________________
"Sed res docuit id verum esse, quod in carminibus Appius ait, fabrum esse suae quemque fortunae."
- Every man is the architect of his own fortune.

Last edited by quinxorin : 04-09-2011 at 20:13.