Create sitemap automatically #9

Open
opened 2026-01-22 20:46:16 +01:00 by fallenbeck · 0 comments
Owner

When rendering the pages into static HTML this tool should also create a sitemap file.

According to Google, sitemap files can have 3 different formats:

  • XML-Sitemap
  • RSS, mRSS und Atom 1.0
  • Text-Sitemap

This sitemap file will be referenced from robots.txt with the full URL that needs to be reachable from the internet (see Google documentation):

Sitemap: https://fallenbeck.com/sitemap.txt

The name of the sitemap file will not change (once the format (and therefore the extension) of the sitemap file has been decided on) such that robots.txt can remain static and does not need to be altered every time the static HTML files are rendered.

Currently, Sitemap: in robots.txt points to the RSS/Atom feed that is created during the rendering process. However, the feed will only contains the "dynamic" pages.

When rendering the pages into static HTML this tool should also create a sitemap file. [According to Google](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap?hl=de), sitemap files can have 3 different formats: - XML-Sitemap - RSS, mRSS und Atom 1.0 - Text-Sitemap This sitemap file will be referenced from `robots.txt` with the full URL that needs to be reachable from the internet (see [Google documentation](https://developers.google.com/crawling/docs/robots-txt/create-robots-txt?hl=de)): ``` Sitemap: https://fallenbeck.com/sitemap.txt ``` The name of the sitemap file will not change (once the format (and therefore the extension) of the sitemap file has been decided on) such that `robots.txt` can remain static and does not need to be altered every time the static HTML files are rendered. Currently, `Sitemap:` in `robots.txt` points to the RSS/Atom feed that is created during the rendering process. However, the feed will only contains the "dynamic" pages.
Sign in to join this conversation.
No labels
feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fallenbeck/pylive#9
No description provided.