Beiträge: 9
Themen: 2
Registriert seit: Dec 2023
06.10.2025, 21:45
(Dieser Beitrag wurde zuletzt bearbeitet: 06.10.2025, 22:01 von IjonTihy.)
Hallo.
Welches XML-Dateiformat wird für die Vorbereitung von Liga-Spieltagen verwendet? Wie erstellt man eine solche Datei?
Bestehende Spielpläne werden zwar exportiert, aber Änderungen an der Datei führen zu der Fehlermeldung: Die Datenbank enthält keine Spielpläne.
Beim Versuch, die exportierte Datei im Webbrowser zu öffnen, wird eine Fehlermeldung zur Kodierung angezeigt („error on line 2 at column 124: Encoding error).
Beiträge: 31.414
Themen: 2.937
Registriert seit: Jan 2004
Beiträge: 9
Themen: 2
Registriert seit: Dec 2023
Datei -> Ansetzungsschluessel -> Ansetzungsschluessel importieren = the program needs an xml file.
What should the structure of this file be?
I used the "Markierten Ansetzungsschluessel exportieren" option to export one of the existing fixture schemas (I have databases downloaded from
https://www.dfs-datenbanken.info/cont/index.php). I received an XML file, but after I edit it (simple change the teams in pairs; in Notepad++) when I try to import it back into the program, it claims that the file doesn't contain the correct data (Die Datei enthält keinen gültigen Anstellungsschlüssel). Is it a matter of checksum?
PS. It would be easiest if the program accepted simple Excel files with pairs of matches in subsequent lines...
PPS. I would use screenshots but this forum doesn't allow posting images other than those from external urls
Beiträge: 31.414
Themen: 2.937
Registriert seit: Jan 2004
Ein Ansetzungsschlüssel wird auf Basis des Spielplans einer bereits erfassten Saison erstellt. Import/Export ist lediglich dazu vorgesehen, einen Ansetzungsschlüssel von einer Datenbank in eine andere zu transportieren. Die XML-Datei dient lediglich dem Transport und nicht dazu gedacht, darin Änderungen vorzunehmen.
Beiträge: 9
Themen: 2
Registriert seit: Dec 2023
I understand.
So how can I create a fixtures that I can use multiple times in different leagues? The author of the database I downloaded created such a fixture...
Beiträge: 31.414
Themen: 2.937
Registriert seit: Jan 2004
Hier - ganz oben - findest du den Link zur Doku. Suche dort nach "Ansetzungsschlüssel".
Beiträge: 9
Themen: 2
Registriert seit: Dec 2023
Gestern, 20:59
(Dieser Beitrag wurde zuletzt bearbeitet: Gestern, 21:18 von IjonTihy.)
There's no answer to my question there. (Or maybe I don't see it, which is possible with automatic translation.)
I don't want to know how to convert manually created all-season fixtures into a schema (for reuse in another season). I'll only do this if it turns out there's no easier way.
I'm interested in preparing a schema outside of the program and importing it into the program - so that I can simply assign numbers to the teams in the first round to complete the entire season.
I don't know if I'm explaining this clearly (the fact that English isn't our first language probably doesn't help):
From what I read in the doc, I have to manually create matches, matchday by matchday. 34 matchdays. And then I can export them as a template.
But what I want is to take the complete fixtures from my files or website, put them into Excel, convert the club names to numbers, and get a ready-made template. Manually convert it to xml, import it into the program, and then I only need to manually set the first round. Just like with the ready-made DFB templates.
This is especially useful when a given fixture scheme was used only in one season - then the export option makes no sense because I won't use the scheme again anyway.
Beiträge: 31.414
Themen: 2.937
Registriert seit: Jan 2004
(Gestern, 20:59)IjonTihy schrieb: From what I read in the doc, I have to manually create matches, matchday by matchday. 34 matchdays. And then I can export them as a template.
Exactly. There’s nothing else.
Beiträge: 8.658
Themen: 2.353
Registriert seit: May 2006
Vor 9 Stunden
(Dieser Beitrag wurde zuletzt bearbeitet: Vor 7 Stunden von bignike.)
IjonTihy
You don’t have to manually enter all 34 matchdays for every single season.
There’s a way to copy the second half of the season ("Rückrunde") and simply swap the home/away teams. Most likely, the matchday pattern (match schedule key or "Spielschlüssel") remains the same each year.
So you only need to enter the first 17 matchdays, then copy them and swap the home advantage. Of course, you may still need to adjust the exact match dates afterwards.
In my case, for example, the first matchday of the copied second half was always the last matchday of the season — meaning that the opening fixtures were the same as the final round. Because of that, I had to manually move the first Rückrunde matchday to the end. But after that, everything lined up correctly.
Then you can save this full 34-matchday schedule as your "Spielschlüssel" (schedule key).
In the next season, you simply generate the schedule using this saved key. It works like a puzzle: for example, which team is the only one to have a home game in both matchdays 2 and 3? Click on the team on the right side and assign the correct number, etc.
Of course, promoted or relegated teams won’t be in your existing team list, so you can temporarily use a “placeholder” team that has left the league. Later, just use the “replace team” function to swap it with the correct one.
--
Nie musisz ręcznie wprowadzać wszystkich 34 kolejek na każdy sezon.
Istnieje sposób, aby skopiować drugą połowę sezonu („Rückrunde”) i po prostu zamienić drużyny gospodarzy z gośćmi. Najprawdopodobniej wzór kolejek (klucz terminarza, czyli „Spielschlüssel”) pozostaje taki sam co roku.
Wystarczy więc wprowadzić pierwsze 17 kolejek, następnie je skopiować i zamienić gospodarzy z gośćmi. Oczywiście później może być konieczne ręczne dostosowanie dokładnych dat meczów.
W moim przypadku, na przykład, pierwsza kolejka skopiowanej rundy rewanżowej była zawsze ostatnią kolejką sezonu — co oznaczało, że mecze otwierające sezon były identyczne z tymi z ostatniej rundy. Z tego powodu musiałem ręcznie przenieść pierwszą kolejkę Rückrunde na koniec. Po tym wszystko się już zgadzało.
Następnie możesz zapisać ten pełny terminarz 34 kolejek jako swój „Spielschlüssel” (klucz terminarza).
W kolejnym sezonie po prostu generujesz terminarz, używając tego zapisanego klucza. Działa to jak układanka: na przykład, która drużyna jako jedyna gra u siebie zarówno w 2., jak i 3. kolejce? Klikasz na drużynę po prawej stronie i przypisujesz odpowiedni numer, itd.
Oczywiście drużyny awansujące lub spadające nie będą na Twojej aktualnej liście drużyn, więc możesz tymczasowo użyć „drużyny-zamiennika”, która opuściła ligę. Później po prostu skorzystaj z funkcji „zamień drużynę”, aby podmienić ją na właściwą.
Nein ich bin nicht die Signatur. Ich sortiere hier nur den Buchstabensalat, den mein Besitzer hier eben fabriziert hat! Für die einen die Signatur - für die anderen der sinnloseste Satz der Welt.