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!

Subject: »news XML Data Improvements

2006-12-03 02:23:50
You don't seem to understand, so I'm gonna ask you again:

Are you aware that this XML interface is for SOFTWARE DEVELOPERS?
2006-12-03 03:52:53
yes i got it now

but i cant get those numbers idk if you use them with something?
2006-12-03 11:29:51
Look:

Spanish ranking! (thx Terrion)

Altough I think we can't trust it, it depends a lot on the opponents you play...

For example, in this list there is a IV team, who got promoted this season from V... and it's in place 24, with many II and III teams below.

Anyway, I like this update in XML interface :)
2006-12-03 15:49:39
thats why i'm asking if this is mantained like the NT rank and from when is runing
2006-12-03 16:14:34
wow how did you get the?
2006-12-03 16:29:00
It seems is absent the economy side in this xml files. Reports are not the same, and moreover is not comprensible what are the type in this file (I think, they are the key of all report type, one for each type). But there is no general economy report, weekly report as we know in sokker style...
(edited)
2006-12-03 16:59:18
This list can be soon extended.

I belive than economy will be implemented in the xml files :D
2006-12-03 17:47:42
Does anybody know how to transform a teamID into a team name?

With xsl?
2006-12-03 19:51:31
depends on language are you developing.. but basically do it:

with teamID, "download" http://online.sokker.org/xml/team-teamID.xml and parse, find the tag name.

xsl is for style of a xml document...

... you can be more specific about of ide or language than you're developing...
2006-12-03 20:27:30
yes, i´m the 24th spanish team!!!

i love you sokker!!


don´t worry the other spanish teams are jealous....xdxd
2006-12-03 20:52:08
Has anyone know if XML work with players? :S

I've tryed with players ID but it says EMPTY :S
2006-12-03 21:02:29
Works fine for me
2006-12-03 21:05:57
It's a web based thing. You can see the site at www.sokker-scotland.co.uk.

In a little project I am working on at the moment one of the funcions my page does is to get the ID of the countryfrom element and use this to print out the relevant flag next to the players name by doing:





<xsl:attribute name="src">
<xsl:value-of select="concat(countryfrom/@id,'.png')"/>
</xsl:attribute>

^^ this is part of the xslt stylesheet that I use to transform the xml.

On the site, I am now archiving the weekly league tables using the newly released xml's. It's working well (but not live yet). When transforming the league.xml I can only get the teamID to populate the league table and not the desired team name (because there is no team name in that particular xml file).

But it could be gotten somehow ...


EDIT:
Hmmm ... the forum deleted my xsl markup.
(edited)
(edited)
2006-12-03 21:17:26
^^ curious :D you isn't work with PHP and SQL based databases :D ... nice wokr :D
2006-12-03 21:18:49
correct the forum delete all betwen two mayor and minor symbols fro prevent html code :D
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 ...
(edited)
Grrrr ...!!
(edited)