Improving Your NBA Blog
Hey, I wrote a little Web service that gets the NBA standings every few hours from NBA.com. If you have no idea what a Web service is, don't worry, you can add up-to-the-hour stands (identical to the ones shown to the right), by just adding the following HTML markup to your blog somewhere:
<IFRAME width="170" height="900" marginWidth=0 marginHeight=0 src="/nba/standings.aspx" frameBorder=0 width=170 scrolling=no height=900></IFRAME>
I apologize, but this blog software won't let me post HTML content very well... you need to set the src attribute to http://nbaweblog.com/nba/standings.aspx
That's all you need to do! If you're familiar with Web services, and know how to build a client to consume a Web service, you can access the service at http://nbaweblog.com/nba/Standings.asmx. The Web service exposes a single method, GetStandings(), which takes a single input parameter of type ConferenceEnum (which has values Eastern and Western). The method returns a collection of teams, ordered by their conference standings, with the team's name, number of wins, and number of loses as programmatically-accessible properties.
Enjoy! (If you have any questions on getting the standings display working, let me know...)