Go to Post .. just don't try to sell/trade your freshmen or something silly like that. :) - Brandon Martus [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy > Scouting
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-03-2003, 02:00
Jack's Avatar
Jack Jack is offline
FIRST Scouting Network
AKA: Andrew Schenk
FRC #0201 (The FEDS)
Team Role: Alumni
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Rochester Hills
Posts: 643
Jack is a jewel in the roughJack is a jewel in the roughJack is a jewel in the rough
Send a message via AIM to Jack
Parsing usfirst Match Data

Hey all... Just up at this ungodly hour of 2:01 AM ( - 201 = My team number) making a nice little script to parse match data from usfirst.org

Attached it is (zipped because I can't attach a php file duhhh...)

You're going to need a web server that has php to be able to run this script. Also, I have no idea of how they're going to handle the finals, so the odds are i'm going to need to change this tommorrow when i see the formatting for the finals.

Anywho, here it is. When you call the script, you'll need to include the url that the data is on.

Ex: http://127.0.0.1/matches.php?url=URL...RST_MATCH_DATA

a valid url to go to would be: http://www2.usfirst.org/2003comp/eve.../matchsum.html

Anyways, I'll just echo the results to your browser. However, i made a comment on the line in which you would add an sql statement to insert into a db. Also, if a match has not yet been played, it won't be displayed/outputted.

Once again, I'm guessing i'll need to change it after they post the finals, but here it is for now. If you have any questions, feel free to contact me. Once the first set of regionals have all their data on the web, i'll post csv files of the match results. They all will also be on http://fbi.feds201.com

Jack

PS: Thanks to Brandon for his help
Attached Files
File Type: zip matches.zip (866 Bytes, 51 views)
__________________
Team 201 - 2003 Great Lakes Semifinalists & 2003 Archimedes Division Finalists :|: Webmaster of www.feds201.com -> FBI Scouting
Winner of The 2003 ChiefDelphi Web Award for: User That Started The Most Non Chit Chat Threads
Winner of: 2003 FIRST Ventures with 5451.68 End Points

All about me: http://knehcsa.vze.com
**Check out the New FIRST Scouting Network**

Last edited by Jack : 08-03-2003 at 02:06.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital inputs, bandwith, errors? Micah Brodsky Programming 7 20-01-2003 16:08
Competition Scouting pauluffel Scouting 31 09-01-2003 00:34
Robot Scouting Database archiver 2001 10 24-06-2002 03:00
Limiting PWM in pbasic archiver 2001 4 24-06-2002 00:38
Sound Levels Measured at the Nationals archiver 1999 8 23-06-2002 22:47


All times are GMT -5. The time now is 19:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi