Subpage under development, new version coming soon!
Thema: »news XML Data Improvements
You don't seem to understand, so I'm gonna ask you again:
Are you aware that this XML interface is for SOFTWARE DEVELOPERS?
Are you aware that this XML interface is for SOFTWARE DEVELOPERS?
yes i got it now
but i cant get those numbers idk if you use them with something?
but i cant get those numbers idk if you use them with something?
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 :)
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 :)
thats why i'm asking if this is mantained like the NT rank and from when is runing
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...
(Edith war hier)
(Edith war hier)
This list can be soon extended.
I belive than economy will be implemented in the xml files :D
I belive than economy will be implemented in the xml files :D
Does anybody know how to transform a teamID into a team name?
With xsl?
With xsl?
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...
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...
yes, i´m the 24th spanish team!!!
i love you sokker!!
don´t worry the other spanish teams are jealous....xdxd
i love you sokker!!
don´t worry the other spanish teams are jealous....xdxd
Has anyone know if XML work with players? :S
I've tryed with players ID but it says EMPTY :S
I've tryed with players ID but it says EMPTY :S
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.
(Edith war hier)
(Edith war hier)
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.
(Edith war hier)
(Edith war hier)
^^ curious :D you isn't work with PHP and SQL based databases :D ... nice wokr :D
correct the forum delete all betwen two mayor and minor symbols fro prevent html code :D
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 ...
(Edith war hier)
Grrrr ...!!
(Edith war hier)
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 ...
(Edith war hier)
Grrrr ...!!
(Edith war hier)