
Automatically Generate Text Sitemaps in Gatsby
When it comes to text‑based sitemaps in Gatsby, gatsby‑plugin‑sitemap falls short. Fortunately, it is straightforward to implement using Node.js and GraphQL.
Articles
Sitemaps are simple files which provide information about the pages, videos, and other hypermedia that makes up your website, whilst also offering an indication of the relationships between them. They are an essential part of SEO as they give additional information to search engines, allowing them to intelligently crawl and index your site.
Below you will find a subset of articles from my blog specifically about Sitemaps. Although this is a topic I've been working with for many years, it's fair to say that I've not written about it often. I've only managed to publish three articles about it, which you can see and read below.

When it comes to text‑based sitemaps in Gatsby, gatsby‑plugin‑sitemap falls short. Fortunately, it is straightforward to implement using Node.js and GraphQL.
You can let Google know that your website (and the content within) has been updated by submitting an updated sitemap automatically via a simple Node.js script.

urllist.txt from sitemap.xmlUsing PHP it is quick and easy to automatically generate your urllist.txt sitemap from your sitemap.xml file (for example, using gatsby‑plugin‑sitemap).