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!

Onderwerp: »[news] XML Data Improvements

2006-12-25 10:40:56
I mean - use always current session - don't log in and log off back.

Please fix it.
2006-12-25 10:44:33
thanks greg!
now everything is working correctly!
2006-12-25 16:17:42
how do we log off the XML interface?
2006-12-26 00:07:15
I have one other question.

Its about the calculation to find the Average Individual Mark.

Commonly to get the average you simply sum the players rating and divide per the number of players.

The exception to this comes when the goalkeeper doesnt participate much in the game, so he is ignored in the calculation of the average.

But in Uruguay we noticed three other strange cases:

When some field players (DEF, MID, ATT) do not participate much in the game and they play just a few minutes, they are also ignored in the average calculation (at least when they are also replaced)

When a player receives a red card and played just a few minutes, he is ignored in the average calculation.

In some Cup games, the calculation is different. Its not just sum and divide.

You first have to find the average for each player position (average for num.1, average for num.2, for num.3, etc) and then you have to sum them all and divide per 11 (always 11, because you first calculated the average for the 11 positions).

Why is that and which are the thresholds for switching from a normal average to a reduced average?

thanks in advance
(gewijzigd)
2006-12-26 00:11:47
In the following match, the oficial average individual rating mark for Dominados is 39,7. (see the statistic: here ). But in order to get to that number you have to ignore Huallpa, a player that had no participation at all and just played 6 minutes.

Dominados - Sepitones

From the same match, the oficial average of individual rating mark for Sepitones is 34,2 but the only way to get to that number is ignoring the rating of the player that received the red card in the first minute.


And for the case of calculating the average for some Cup games I can show this match:

Es Lo Que Hay - Isis Desvelada

The oficial average of individual ratings of Isis Desvelada was 40.1 , and you can check it at this post that was just a copy-paste of the oficial statistic: post

But just try and do the classic Sum and divide with the ratings of Isis Desvelada and you'll get a 39.6 average.

The reason is because the calculation must have done an average for the replaced positions and then sum the eleven positions and divided by eleven.

Why is this average different from the others?

thanks again.
(gewijzigd)
2006-12-27 15:56:54
ok, sorry. I didnt mean to close the thread :P
2006-12-27 23:59:44
< colShirt >16711680< / colShirt >

Do You know in what kind of color format it is saved ?
(gewijzigd)
2006-12-28 02:04:07
looks like RGB 24 bits
2007-01-04 09:15:01
you do not need to preg_match to get the code.

Just try: curl_getinfo

;-)
2007-01-04 15:29:43
could players' injury length be as in ...data.php: like 1,5643 days? currently in players-xxxx.xml it is in full day format: 2 days fo example
2007-01-06 12:39:30
some changes were made.

1) added report ID to reports.xml

2) removed empty tags
e.g. from juniors.xml
when juniors school was empty then:
* before
< juniors >
< junior >
< / junior>
< / juniors >

* now
< juniors >
< / juniors >

this bug was annoying because some XML parsers return list with one empty node.

all xml's were correted.

What have You noticed more in this XMLs is there any bugs or missing ?
(gewijzigd)
2007-01-11 21:08:44
Question for you peeps about timePlaying and timeDefending on PlayerStats via match-xxx.xml

That number there is in something that doesn't seem related directly to time or any set number (probably actions in the match or something, who knows).

Is there a way to convert those numbers directly to %'s? or should i sum up all of them and calculate the % based on each number versus the total?

That just seems really ineffecient if there's another way.
(gewijzigd)
2007-01-14 03:42:30
Is there any limits to download xml files ?
I get 24 files per session (login) and then I begin receive only html files with 403 Forbidden.

tks
2007-01-14 08:49:45
Yes it is. AntiDOS filter.
Just put some sleep (about 15 or 20s) in your code an try to download the page again.
2007-01-14 09:49:57
5/6 secs sleep are enough
2007-01-14 19:27:28
Hi. I´m developing a tool for the NT manager.

I´m trying to get the xml of the Argentinean NT team (code 19) and the xml is returned with no data at all:

* I am doing something wrong or the data of the nt players can´t be obtained (just form, ntgoals and all that stuff that you can get for other teams)

* If it is not possible to get the data as a regular user (my user). Can the NT coach get this data of his own NT Team?

Thanks, i don´t know if this was already discussed
(gewijzigd)