0

ScoreSure results website

Posted by Chris on Wednesday, September 09, 2009 in , , ,
With the Brighton and Hove Petanque Open Triples results in and recorded, it made sense to use them to try out the new score results website. Progress on this side of the ScoreSure range of products has been slow and steady. To date, results entry has been completed, along with an "invite-a-buddy" system of encouraging people to create their own online profiles.

In progress is a results API to allow anyone to display their results in a league table format, on their own website/blog, using a few simple lines of copy-n-paste code (the same way YouTube embed video idea works).

Below is an example of the Brighton And Hove Open Triples qualifying round results, using the new ScoreSure Results API:

The code used to display the league table here has been superceded. Changes to the Score Results website mean the method originally used to draw the league table no longer works. See later posts for details about how the league table can be included as a blog "widget"


It uses an iFrame to load external content from the scoreresults.co.uk website. In this example, the league table is drawn by putting http://www.scoreresults.co.uk/leaguetable.asp?tournamentid=CA40F460811E4D1FB47A706A4217972A into the iFrame. When hosted on a site where script uploads are possible, it is also possible to have the iframe resize automatically, to fit the frame contents. A simple example of this can be found here.
(you should see that as links are clicked, the iframe grows and shrinks as necessary so that ugly scrollbars are not needed).

From the results league table, it should be possible to drill down and look at each team's results history, individual player profiles and player results histories.
  • Click on a tournament to view the league table standing for that tournament (knockout tournaments haven't been coded yet, but given that the final stage of the BHPC Triples was a form of knockout, this will be done very soon!)
  • Click on a team name to see all the people that make up that team and to see previous results for that team (each team is specific to a single tournament so all results for one team always relate to just one tournament).
  • Click on a player's name to see which team(s) they belong to, which tournaments they have taken part in, and a history of all results for this player, whether individually or as part of a team, across all tournaments.


Obviously some tidying up needs to be completed, and routines put in place to stop anyone accidentally (or maliciously!) entering rogue data which might break the website. But to date, progress has been pretty good and it's encouraging to see how the whole thing is starting to shape up.

0 Comments

Post a Comment

whos.amung.us

Copyright © 2009 .Nerd Club All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive Supported by Blogger Templates.