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-03 21:32:34
re: curious.

Yeah, that's just straight manual html (=hardwork and time). These xml files could make life easier.

So my new league tables (using the league.xml) look like:

example only

As you can see the team names are just team ID's ... kinda annoying (and not useful).

I'll solve it eventually, but if you know of way let me know ...
(gewijzigd)
Grrrr ...!!
(gewijzigd)
2006-12-03 21:39:24
mmm if find a solution and is "downloading" each teamId xml data as I say above :D...

with cURL isn't to hard but you know how do it with your techniques :DDD excellent!
2006-12-03 21:44:57
Yeah. cURL rulez. :-)
2006-12-03 21:48:51
|ooooo|

cURL master!! :DD how are you!! ;D :)
2006-12-03 22:24:01
Got it.

Apparently the xsl function "document()" will allow me to pull the club name from a second xml file containing all the team ids and clubnames (which I'll have to create).

Sorted.
Peace.
2006-12-04 08:40:08
The new XMLs are great, but:

I am missing a logical structure. It is not possible to access leagues without knowing the IDs. There should be some xml like leagues-[countryID].xml where would be all leagues with IDs.

If you have leagueIDs, you can access everything i hope.

I am also wonderring where can i find the goals, assists and average mark of an player for the actual season. It could be added to players.

And I am missing the same for the teams.

And i've got a question :-). Are the XMLs generated online or are they pre-genereted?
2006-12-04 09:44:00
Yes, many missing files ... maybe they will come soon? What's available right now is not too great (but still good). You find goals and assists at players.xml (no average mark and no "for the season" either, as you have said.)

And i've got a question :-). Are the XMLs generated online or are they pre-genereted?

Are you referring to the the xml's on online.sokker.org/xml or the ones on sokker-scotland? The ones on my site are manually downloaded from m sokker and saved then uploaded to the server. The league tables then "generate themselves" so to speak. On sokker they are created in real time.
2006-12-04 09:50:50
I am referring to the xml's on online.sokker.org/xml.

How do you know, that they are generated in real time?
2006-12-04 09:54:33
If you go to the xml login page, then look under the heading "Downloading files", there is a sentence in bold text which says: "They are created real-time, so are always up to date"

They must have some fancy stuff going on that pulls all the data from the database and generates the xml.
2006-12-04 10:04:38
Oh. Sorry. I didnt see that. (Haven't read the text, I'm too lazy :D).

But i would suggest to the dev's, that they shoul pre-generate the files.

If they pre-generate the XMLs they lose some disk space, but they also have less queries on DBS.

Although i dont know how many request's they have on the XML's. It really depends on priorities.
But i would pre-generate, cause there is to much load on the server on Sunday and Wednesday and these are also the days when XML's are downloaded.
2006-12-04 13:51:37
I am missing a logical structure. It is not possible to access leagues without knowing the IDs. There should be some xml like leagues-[countryID].xml where would be all leagues with IDs.

That's possible:

league-[country ID]-[division]-[number].xml

Something more important: your club his league ID is not shown in your club's XML file. You have to tell an application in which league you are playing or it needs to use HTML.
2006-12-04 14:10:14
But how can i know how many [division]s and [number]s are there?

And there is another bug. Arena -> stands with capacity 100 are not shown in the XML.
example: http://online.sokker.org/xml/team-19676.xml
2006-12-04 14:15:57
A program could try the number of divisions and leagues in a country, but I agree, it could be included on the country file.

And there is another bug. Arena -> stands with capacity 100 are not shown in the XML.
example: http://online.sokker.org/xml/team-19676.xml


That's not a bug. 100 standing are considered to be 'normal' and a program should know that there are 100 standings in a section if the section is not mentioned.
(gewijzigd)
2006-12-04 14:23:09
It depends if it's 'normal'.

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.
2006-12-04 14:58:22
guys it seems like some of you forgot that there is still a feature called plus.
of course you cannot expect to see all the nice information with this xml files (like goals shot this season, average mark this season etc), because this is for plus only.
2006-12-04 15:19:49
Yeah. Ok. But now can i download it thru HTML. So why not XML if i have PLUS?