implement configuration loading with json parser, implement some new argument for it.

ship with example json configuration file.

add: method to add doctype/html/head/body to document.

see examples in todo! with progamm usage
This commit is contained in:
2026-04-20 12:42:54 +02:00
parent d1d4e497be
commit 1afc450711
7 changed files with 424 additions and 126 deletions
+53
View File
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html>
<!-- sanigi-html parsed @ 2026-04-20 12:42:08.625481-->
<head></head>
<body>
<h1>Die Fußball-Weltmeisterschaft 2026</h1>
<p id="h1_under">vom 11. Juni bis 19. Juli 2026 in Kanada, Mexiko und den USA</p>
<img height="480" width="640">
<ul>
<li>Eröffnungsspiel:
<ul>
<li>Am 11. Juni 2026 um 21:00 Uhr im Aztekenstadion in Mexiko-Stadt (Mexiko vs. Südafrika)</li>
</ul>
</li>
<li>Finale:
<ul>
<li>Am 19. Juli 2026 im MetLife Stadium in East Rutherford, New Jersey</li>
</ul>
</li>
<li>Teilnehmer:
<ul>
<li>Erste WM mit 48 teilnehmenden Nationen</li>
</ul>
</li>
<li>Format:
<ul>
<li>Insgesamt 104 Spiele in 12 Gruppen</li>
<li>Austragung in 16 Stadien in drei Ländern</li>
</ul>
</li>
<li>Zeitzonen:
<ul>
<li>Das Turnier erstreckt sich über vier verschiedene Zeitzonen in Nordamerika</li>
</ul>
</li>
<li>Maskottchen:
<ul>
<li>Maple, Zayu &amp; Clutch</li>
</ul>
</li>
</ul>
</body>
</html>