generate-sitemap

Generate an XML sitemap for a GitHub Pages site using GitHub Actions

MIT License

Stars
71
Committers
4

Bot releases are visible (Hide)

generate-sitemap - generate-sitemap, v1.3.0

Published by cicirello about 4 years ago

generate-sitemap, v1.3.0

This action generates a sitemap for a website hosted on GitHub Pages. It supports both xml and txt sitemaps. When generating an xml sitemap, it uses the last commit date of each file to generate the <lastmod> tag in the sitemap entry. It can include html as well as pdf files in the sitemap, and has inputs to control the included file types (defaults include both html and pdf files in the sitemap). It skips over html files that contain <meta name="robots" content="noindex">. It otherwise does not currently attempt to respect a robots.txt file. The sitemap entries are sorted in a consistent order (primary sort is by depth of page in site, and URLs at same depth are then sorted alphabetically).

[1.3.0] - 2020-9-9

Changed

  • URL sort order updated (primary sort is by depth of page in site, and URLs at same depth are then sorted alphabetically)
  • URL sorting and URL filtering (skipping html files with meta robots noindex directives) is now implemented in Python
generate-sitemap - generate-sitemap, v1.2.0

Published by cicirello about 4 years ago

generate-sitemap, v1.2.0

This action generates a sitemap for a website hosted on GitHub Pages. It supports both xml and txt sitemaps. When generating an xml sitemap, it uses the last commit date of each file to generate the <lastmod> tag in the sitemap entry. It can include html as well as pdf files in the sitemap, and has inputs to control the included file types (defaults include both html and pdf files in the sitemap). It skips over html files that contain <meta name="robots" content="noindex">. It otherwise does not currently attempt to respect a robots.txt file. The sitemap entries are sorted in a consistent order (html pages before pdf files, then by depth of page in site, and finally alphabetically).

[1.2.0] - 2020-9-4

Changed

generate-sitemap - generate-sitemap v1.1.0

Published by cicirello about 4 years ago

generate-sitemap, v1.1.0

This action generates a sitemap for a website hosted on GitHub Pages. It supports both xml and txt sitemaps. When generating an xml sitemap, it uses the last commit date of each file to generate the <lastmod> tag in the sitemap entry. It can include html as well as pdf files in the sitemap, and has inputs to control the included file types (defaults include both html and pdf files in the sitemap). It skips over html files that contain <meta name="robots" content="noindex">. It otherwise does not currently attempt to respect a robots.txt file. The sitemap entries are sorted in a consistent order (html pages before pdf files, then by depth of page in site, and finally alphabetically).

[1.1.0] - 2020-8-10

Added

  • Sorting of sitemap entries.
generate-sitemap - Generate Sitemap v1.0.0

Published by cicirello about 4 years ago

Generate Sitemap v1.0.0

About

This action generates a sitemap for a website hosted on GitHub Pages. It supports both xml and txt sitemaps. When generating an xml sitemap, it uses the last commit date of each file to generate the <lastmod> tag in the sitemap entry. It can include html as well as pdf files in the sitemap, and has inputs to control the included file types (defaults include both html and pdf files in the sitemap). It skips over html files that contain <meta name="robots" content="noindex">. It otherwise does not currently attempt to respect a robots.txt file.

Package Rankings
Top 3.65% on Github actions
Badges
Extracted from project README
cicirello/generate-sitemap - Generate XML sitemaps for static websites in GitHub Actions GitHub release (latest by date) Count of Action Users build CodeQL GitHub GitHub top language GitHub Sponsors Liberapay Ko-Fi
Related Projects