Another quick one before I head out for my government mandated single bit of exercise outside of my cell.

By popular demand, I’ve converted the Known sitemap.xml generator plugin I wrote some time ago to be installable via composer.

This means you no longer need to faff around with directories, and instead can install it simply with the following command:

composer require mapkyca/known-sitemap

Hopefully this will make it simpler for you!

» Visit the project on Github...

Sitemaps are specially crafted XML files, usually located at https://yourdomain.com/sitemap.xml, that help search engines better crawl your site.

It came up in conversation on IRC that there was a need for a sitemap plugin for Known, and because such a plugin would be useful to myself as well as others (and because I had a little bit of time while waiting for a painfully slow set of Vagrant builds, so I thought I’d put something together.

So, over on github, I’ve put together a quick plugin that will automatically generate a basic sitemap plugin for your site, as well as update your robots.txt accordingly.

When you first visit your sitemap.xml file a sitemap will be generated and cached. When you create new posts, this file will be automatically updated.

It’s pretty simple at the moment, but as usual, pull requests are welcome!

» Visit the project on Github...