Azərbaycan dili Bahasa Indonesia Bosanski Català Čeština Dansk Deutsch Eesti English Español Français Galego Hrvatski Italiano Latviešu Lietuvių Magyar Malti Mакедонски Nederlands Norsk Polski Português Português BR Românã Slovenčina Srpski Suomi Svenska Tiếng Việt Türkçe Ελληνικά Български Русский Українська Հայերեն ქართული ენა 中文
Subpage under development, new version coming soon!

Thema: »news XML Data Improvements

2006-12-04 15:19:49
Yeah. Ok. But now can i download it thru HTML. So why not XML if i have PLUS?
2006-12-04 15:32:27
thats maybe an idea to implement.
statistics.xml[variable]
variable could be
player, league or country
2006-12-04 16:43:28
I would agree, that it is normal if it would be written in som specification. There is now no way to know that it is so.

At least developers of helper applications know it now.
2006-12-04 16:45:49
Yes now i know it too and i accept that. But there was no way to know ;-).
2006-12-04 17:03:30
sokker xml viewer for the lazy ...

@loop,
I only archive lost stats or stats that will be lost (at season end) or stats you don't get with Plus.
(Edith war hier)
2006-12-04 17:54:27
:O you don't rest!! ;) nice!!
2006-12-04 17:57:23
I see.
so you mean something like the player stats from last match (wich is aviable for non-plususers right?
) without having to take the match report.
2006-12-04 21:38:31
Hmm
players are shown in right frame, while all the otehr links load as new page, so I have to go BACK to get the links again...
Or is it only for me ? Linux, Opera 8.52
2006-12-05 00:03:54
Fixed ... just my mistake.
2006-12-05 00:06:01
$ch=curl_init();
curl_setopt($ch,CURLOPT_URL,"http://online.sokker.org/start.php?session=xml");
curl_setopt($ch,CURLOPT_POST,1);
curl_setopt($ch,CURLOPT_POSTFIELDS,"ilogin=xxxx&ipassword=xxxxx");
curl_exec($ch);

since I do so that it gives back juniors.php to me?
2006-12-05 02:05:49
juniors.php is a masterpiece of cURL Master :D
(Edith war hier)
2006-12-05 04:28:34
Maybe you figured what is the rankTotal in the league-XXXX.xml , but I want to share with you what I discovered.

The rankTotal

Its a code of 12 or 13 digits

The first digit of a 13 digits rankTotal represents the actual number of points you have in your league (if you have 6 points, the first number will be a 6, and so on)

Exception to this rule are the 12 digits rankTotals, that exist for those teams that actually have 0 points.

The next 3 digits in a rankTotal are for calculating the goal difference, and the 3 digit code can be decomposed in 2 subcodes (the first 2 numbers represent tens, and the last one the units)

Suppose each 10 numbers we have an equivalent code like this one:

50 for numbers from 0 to 9
51 for numbers from 10 to 19
52 for numbers from 20 to 29, etc, etc.

and for negative groups of tens...

49 for numbers from -1 to -10
48 for numbers from -11 to -20, etc, etc

The third number of this 3 digit code is the one that determines the unit between the group of ten numbers that the first two digits declare.

In order to calculate the goal difference you have to add this number (the third digit) to the minimum of his group of tens.

Example:

a 0 goal difference would be a 500 (50 is for numbers between 0 and 9, and you add 0 (the third digit) to 0 - the minimum in the group -, and the result is 0)

a 4 goal difference would be a 504 (50 is for numbers between 0 and 9, and you add 4 (the third digit) to 0 - the minimum in the group-, and the result is 4)

a -11 goal difference would be a 489 (48 is for numbers between -11 and -20, and you add 9 (the third digit) to -20 - the minimum in the group- and the result is -11)

and so on...

The last 9 digists of a rankTotal have the following format: 00x00x00x.

I dont really know what they mean.

At least the last "x" has some relation with the starting position in your league (the champion of the past league has "8", the second "2", the third "3", the fourth "4", etc). Probably the champion has number "8" because it may be the last team to certify its place in the present league).

For sure the rankTotal, as it has been said, its used to calculate the corresponding matchs at the end of season, who goes directly to the upper division, and so on.
(Edith war hier)
2006-12-05 04:35:21
You can sendme it by sk-mail, but in Spanish ;)

Is too long for read in english and you are a Spanish speaker :D

thanks.
2006-12-05 04:51:03
arigato
2006-12-05 04:56:01
preggo
2006-12-05 06:25:27
nice job!

let me expand your findings:

13 digits (if 12 it means that first == 0)
digit #s: meaning

1: points in league
2-3-4: goal difference + 500
5-6-7: goals in favour
8-9-10: matches won
11-12-13: 9 - position in league at the beggining of season (1st team has value 8, 2nd has 7, and so on).

:)

男意
(Edith war hier)