---
id: 7451
title: Generate sitemap.xml File via Build Script
state: CLOSED
labels:
  - enhancement
  - ai
assignees:
  - tobiu
createdAt: '2025-10-10T20:14:06Z'
updatedAt: '2025-11-11T12:27:38Z'
githubUrl: 'https://github.com/neomjs/neo/issues/7451'
author: tobiu
commentsCount: 1
parentIssue: 7446
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2025-11-11T12:27:38Z'
---
# Generate sitemap.xml File via Build Script

A `sitemap.xml` file is essential for telling search engines which pages on our site are available for crawling. This file will be automatically generated by a build script to ensure it is always accurate.

## Acceptance Criteria

1.  Enhance the `buildScripts/generate-seo-files.mjs` script.
2.  Add a function to the script that takes the parsed list of content URLs and formats them into the standard `sitemap.xml` format.
3.  The script should write the final XML output to a new `sitemap.xml` file in the `apps/portal/` directory.
4.  The task of submitting the sitemap to search consoles will be handled separately after generation is complete.

## Timeline

- 2025-10-10T20:14:06Z @tobiu assigned to @tobiu
- 2025-10-10T20:14:07Z @tobiu added parent issue #7446
- 2025-10-10T20:14:08Z @tobiu added the `enhancement` label
- 2025-10-10T20:14:08Z @tobiu added the `ai` label
### @tobiu - 2025-11-11T12:27:38Z

resolved.

- 2025-11-11T12:27:38Z @tobiu closed this issue

