Subpage under development, new version coming soon!
Asunto: »news XML Data Improvements
Ferdi80 [del] para
rym3k [del]
Some additions I'd like to see in the XMLs, please:
transfers: add player name and surname, so you don't have to query each single player in the list just to get the name.
team-xxx data: would be great to have the league-ID, junior-league-ID and Cup-ID in there.
juniors: now with juniors playing matches, it would be great to have no. of matches played.
reports: would be nice to have a list with the reports texts. ;)
for statistics it would be nice to have the number of fans in each arena block separately in the match-xxx XML.
transfers: add player name and surname, so you don't have to query each single player in the list just to get the name.
team-xxx data: would be great to have the league-ID, junior-league-ID and Cup-ID in there.
juniors: now with juniors playing matches, it would be great to have no. of matches played.
reports: would be nice to have a list with the reports texts. ;)
for statistics it would be nice to have the number of fans in each arena block separately in the match-xxx XML.
Ferdi80 [del] para
_ne0_ [del]
this example will open a connection in VB with excel and copy the vars.xml to a sheet named XML_Import. You will need to create that sheet first and it's contents will be erased when you call this function.
btw. if someone can tell me how to make the password invisible on typing (like ****), please tell me. ;)
sub() test_connection
dim test1 as boolean
test1=log_In
end sub
Function Log_In() As Boolean
Sheets("XML_Import").Select
Cells.Select
Selection.ClearContents
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://online.sokker.org/start.php?session=xml", _
Destination:=Range("a1"))
.PostText = _
"ilogin=[""ilogin"",""Enter login""]&ipassword=[""ipassword"", ""Enter password""]"
.BackgroundQuery = True
.TablesOnlyFromHTML = False
.Refresh BackgroundQuery:=False
.SaveData = True
End With
'Variablen für Datum importieren
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://online.sokker.org/xml/vars.xml", _
Destination:=Range("A2"))
.BackgroundQuery = True
.TablesOnlyFromHTML = True
.Refresh BackgroundQuery:=False
.SaveData = False
End With
Range("A1").Select
If Left$(ActiveCell.text, 2) = "OK" Then
Log_In = True
Else
Log_In = False
End If
End Function
btw. if someone can tell me how to make the password invisible on typing (like ****), please tell me. ;)
sub() test_connection
dim test1 as boolean
test1=log_In
end sub
Function Log_In() As Boolean
Sheets("XML_Import").Select
Cells.Select
Selection.ClearContents
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://online.sokker.org/start.php?session=xml", _
Destination:=Range("a1"))
.PostText = _
"ilogin=[""ilogin"",""Enter login""]&ipassword=[""ipassword"", ""Enter password""]"
.BackgroundQuery = True
.TablesOnlyFromHTML = False
.Refresh BackgroundQuery:=False
.SaveData = True
End With
'Variablen für Datum importieren
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://online.sokker.org/xml/vars.xml", _
Destination:=Range("A2"))
.BackgroundQuery = True
.TablesOnlyFromHTML = True
.Refresh BackgroundQuery:=False
.SaveData = False
End With
Range("A1").Select
If Left$(ActiveCell.text, 2) = "OK" Then
Log_In = True
Else
Log_In = False
End If
End Function
rym3k [del] para
rtg [del]
player:
- height
- superdivine skill
junior:
- formation
- age
- superdivine skill
- height
- superdivine skill
junior:
- formation
- age
- superdivine skill
rtg [del] para
rym3k [del]
are the junior stats of any use without a proper pid number?
rym3k [del] para
rtg [del]
i you multiple current id by -1 then you will get proper ID.
you cannot get junior names from opponent team (yet)
you cannot get junior names from opponent team (yet)
rtg [del] para
rym3k [del]
ah so this is using juniors.xml then - i have been trying player-X.xml which is not showing the correct player
rtg [del] para
rym3k [del]
you cannot get junior names from opponent team (yet)
Are you going to include skill level of these other teams juniors?
Are you going to include skill level of these other teams juniors?
rym3k [del] para
rtg [del]
it is not my decision, but if will be I would not agree for that.
rtg [del] para
rym3k [del]
skill level would be great to see which would allow a junior scout team to be setup to ensure the best juniors are caught in the junior school and then followed through when promoted.
rym3k [del] para
BlueZero
and where is the talent? :-)))
omg. I completely forgot :P
btw. this changes were made by greg :) there is one thing which doesn't allow me to make any changes there :)
omg. I completely forgot :P
btw. this changes were made by greg :) there is one thing which doesn't allow me to make any changes there :)