View Single Post
  #2   Spotlight this post!  
Unread 13-01-2004, 22:43
DanL DanL is offline
Crusty Mentor
FRC #0097
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Somerville, MA
Posts: 682
DanL is just really niceDanL is just really niceDanL is just really niceDanL is just really niceDanL is just really nice
Send a message via AIM to DanL
Re: XML of the FIRST Q & A system

Quote:
Originally Posted by Jack
Hey all...

Intrested in seeing xml data from the FIRST Q & A system??

Check out http://usfirst.firstsn.org/xml/qa.php

You can use the following queries in your url to access different info.

The queries are:
section=[Section]
date=[Date]
mmddyyyy=[(MM/DD/YYYY)]
search=[Search]
status=[Status]
skip=[offset] **NOTE: MAX 25 DISPLAY**

An example url would be:
http://usfirst.firstsn.org/xml/qa.ph...tatus=answered

Take a look at the actual Q & A page to see what are the possible values you can enter for each of the fields.

Also, just to let anyone know, this script parses the FIRST site directly on every call so you'll be guarenteed fresh data.

If anyone has any questions's or actually finds a good way to use this let me know.

Jack
What I really want to know is if it's possible to sort by newest posts... I find it rather annoying that the Q&A system only sorts by section and there's no option to sort by date - makes it very hard to look for new questions. FIRST - if you're out there, add an option to order the Q&A system by date... everything's from a database, so it's just a matter of adding a few lines of code.
__________________
Dan L
Team 97 Mentor
Software Engineer, Vecna Technologies