This page provides a basic demo of how the BF2S_MLB class can be used to pull a custom leaderboard from BF2S.com and display it on your own pages.
Check out the source code of this page to see how rediculously easy this is. The documentation is available as well.
get(43917103,45507687,45138378,43485335,44260977,39709471)
Cache file testing/creation complete: 1
cache_recall(43917103,45507687,45138378,43485335,44260977,39709471, 360)
Cache file ( /www/jrm.cc/site/extras/mlb/cache/9a62ec38dd166bcfe94df97c1f404cf6.txt ) is too old.
No cached XML file exists (or it's too old.)
Fresh XML, validating
The freshened XML file is valid
cache_store(43917103,45507687,45138378,43485335,44260977,39709471, content)
Wrote cache file ( /www/jrm.cc/site/extras/mlb/cache/9a62ec38dd166bcfe94df97c1f404cf6.txt )
showList(score, <tr><td><a href="{LINK}">{NICK}</a></td><td>{SCORE}</td><td>{SPM}</td><td>{TIME}</td></tr> )getList(score)
Can't make a list till you've queried for it.
showList(SPM, <tr><td><a href="{LINK}">{NICK}</a></td><td>{SCORE}</td><td>{SPM}</td><td>{TIME}</td></tr> )getList(SPM)
Can't make a list till you've queried for it.
showList(time, <tr><td><a href="{LINK}">{NICK}</a></td><td>{SCORE}</td><td>{SPM}</td><td>{TIME}</td></tr> )getList(time)
Can't make a list till you've queried for it.
showList(rank, <li>{NICK}, {RANK}</li> )getList(rank)
Can't make a list till you've queried for it.
showList(score, {NICK} - {PID} - {RANK} - {SCORE} - {SPM} - {KDR} - {WLR} - {COUNTRY} - {TIME} - {WINS} - {LOSSES} - {KILLS} - {DEATHS} - {LINK}<br /> )getList(score)
Can't make a list till you've queried for it.
getList()
Can't make a list till you've queried for it.
getList(time)
Can't make a list till you've queried for it.