Eric van Riet Paap asked me for a new feature in the ranking, and I added it today, so am posting about it here too, because it may be interesting for others (especially for competition organizers) too.
You can now display a ranking chart for a list of names (or ID's). It means, for example, if you have a list of freedivers registered to a competition, you can display their current ranking, and see the favorites, or your own theoretic rank in that list.
The syntax is simple - just add the switch "names:" to the URL address, followed by a comma separated list of full names of the competitors. Blanks in the names must be replaced with dashes, and the names must be identical to the names used in the ranking (letter case does not matter though). Other switches for setting the report mode, for filtering the discipline, gender, year, nation, etc. work as usually.
There is an example here, showing the best CWT performance in year 2010 for the listed competitors. The length of the list is not limited (except of limit of maximal address that some browsers impose - I think it may be 1024 characters in some cases)
http://apnea.cz/ranking.html?md:bes...,William-Trubridge,Guillaume-Nery,Eric-Fattah (you need to click the link to see it full -the forum hides part of it)
If the length of the address line becomes an issue, you can use a list of ID's, instead of list of names - that would be much shorter. You can find ID's of individual competitors in the "permalink" on the profile pages of individual competitors. It is the value after the "pid:" in the permalink.
The list based ranking can can be used both directly on the website (
http://apnea.cz/ranking.html?names:...), as well as for embedding to your website via IFRAME (
http://apnea.cz/rankex.html?names:...) or via Javascript (
http://apnea.cz/rankjs.html?names:...), or the raw format for parsing by scripts (
http://apnea.cz/rankraw.html?names:...). Some more details, syntax examples, and tips about embedding pages into your website or blog can be found at
http://apnea.cz/en/embedcal.html - although it was written as instruction for embedding the competition calendar, if you replace the base address (rankcalex.html, rankcaljs.html, rankcalraw.html) with the above mentioned ones (rankex.html, rankjs.html, rankraw.html), the instructions apply also for embedding of these list based ranking, global ranking, national ranking, personal profiles, etc.
AIDA Czech Republic and AIDA France embed the tables of their nations from Apnea.cz on their pages. If any other national branch is interested in doing so too, and needs some help with setting it up, do not hesitate to ask.
And of course, if a competition organizer needs a help with embedding an in-list ranking, or competitor profiles into their webpages, or if someone wants to embed own profile, or ranking into his blog or personal webpage, just ask if you encounter any problems.