{"repo":"cicirello/generate-sitemap","free":true,"listed":false,"github":"https://github.com/cicirello/generate-sitemap","clone":"git clone https://github.com/cicirello/generate-sitemap.git","description":"Generate an XML sitemap for a GitHub Pages site using GitHub Actions","language":"Python","stars":112,"topics":["actions","sitemap-generator","workflows","github-pages","github-actions","sitemap","xml","lastmod","robots","robots-exclusion-protocol"],"license":"MIT","category":"workflow-automation","readme_excerpt":"generate-sitemap Check out all of our GitHub Actions: https://actions.cicirello.org/ About GitHub Actions :--- :--- Build Status Source Info Support The generate-sitemap GitHub action generates a sitemap for a website hosted on GitHub Pages, and has the following features: Support for both xml and txt sitemaps (you choose using one of the action's inputs). When generating an xml sitemap, it uses the last commit date of each file to generate the tag in the sitemap entry. If the file was created during that workflow run, but not yet committed, then it instead uses the current date (however, we recommend if possible committing newly created files first). Supports URLs for html and pdf files in the sitemap, and has inputs to control the included file types (defaults include both html and pdf files in the sitemap). Now also supports including URLs for a user specified list of additional file extensions in the sitemap. Checks content of html files for directives, excluding any that do from the sitemap. Parses a robots.txt, if present at the root of the website, excluding any URLs from the sitemap that match Disallow: rules for User-agent: . Enables specifying a list of directories and/or specific files to exclude from the sitemap. Sorts the sitemap entries in a consistent order, such that the URLs are first sorted by depth in the directory structure (i.e., pages at the website root appear first, etc), and then pages at the same depth are sorted alphabetically. It assumes that for f","default_branch":null,"files":null,"tree":[],"storefront":"/r/cicirello","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cicirello/generate-sitemap/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}