I had
this thread I was updating, but it started to look more like a blog than a thread. To make a long story short, future updates will be announced in my blog.
Link:
http://www.pvv.ntnu.no/~brill/fumbbl/ (NOTE: new link)
Description:
Several scripts fetches information from FUMBBL and formats it into tables.
* Match script: parses matches, and outputs a Top Player table.
* Group script: parses a group, and outputs a list of teams and tournaments in that group. For further use in the Match Script.
* Tournament script: parses a tournament, and fetches all matches in that tournament for use in the Match Script.
* Team script: can fetch all players of a team and make a top list, or it can fetch all matches played by the team, for use in the Match script.
* Player script: parses a team, and outputs all players (current and past) into a neatly formatted and colour-coded table.
Data sources:
* XML documents provided by Christer.
* (When the XML documents doesn't contain the needed information: HTML pages)
Script languages:
* PHP (server-side)
* jquery/javascript (client-side)
* ajax (asynchronous javascript)
* Smarty (template-engine)
Todo:
* Less HTML parsing, more XML parsing. As soon as more information is available through XML, existing features will be improved, and more features will be added. (DONE)
* Add choice of colour-codes for the player table (DONE)
* Find and add lacking player icons. (ie. tournament prize players, LRB5 players etc...)
* Add inactive player filter.
* Make League specific scripts (NBBM, E.L.F., BB7)
* Add a pie-making script.
Bugs:
Send me a PM if you find any.
Known Bugs:
* The script is sometimes unable to fetch an XML document, this might cause the script to retrieve corrupted data or time out early. This usually happen when submitting alot of matches.
Requests:
Send me a PM.
Note:
* The time limit set in the script is 300 seconds, but the server forces it down to less. Big queries will most likely time out. Reducing script time is being worked on.
* Your browser should be updated to the newest version, and you need javascript activated. Do not ask me to make it compatible with old browsers.
* You can copy/paste both the Top Players and the Team Players table. If you want your own icons, or change anything, feel free to do so. The code is HTML, so it will only work where you can use HTML (this means, among other things, it wont work in the forum, but will work in team bios).