feat(crossword): add 2025‑12‑21 puzzles and update output generators

- Introduce three new puzzle files for the 2025‑12‑21 theme
- Update main generator to include new data set
- Regenerate pool, report, RSS and theme outputs
- Clean up legacy JSON format in main file
- Ensure consistency across generated assets
This commit is contained in:
mike
2025-12-21 17:41:41 +01:00
parent aa44f89b1b
commit cdb609b746
9 changed files with 1000 additions and 10199 deletions

View File

@@ -4,6 +4,7 @@ import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.time.LocalDate;
import java.util.Date;
public class Main {
// ---------------- CLI ----------------
@@ -76,7 +77,7 @@ public class Main {
// Export to JSON file
var dateStr = LocalDate.now().toString();
var theme = "algemeen";
var theme = "algemeen-" + new Date().getTime();
var filename = String.format("crossword_%s_%02d_%s.json", dateStr, 1, safeSlug(theme));
var outDir = "data";
var outputPath = Paths.get(outDir, filename);