blackfyre / wga

Jumping forward ~30 years
https://wga-uat.blackfyre.ninja/
MIT License
138 stars 12 forks source link

Sitemaps #46

Closed blackfyre closed 10 months ago

blackfyre commented 10 months ago

This is one thing the old site never had, a proper, always up-to-date sitemap. It just wasn't feasible, but since we now have an actual database of items, it becomes a simple task to generate and automatically maintain a sitemap.

Info about sitemaps: https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview

Basically we need to output an xml file with the appropriate content, so there's nothing ground breaking in this. Pocketbase doesn't offer this feature, so we'll have to implement it. The existing go based sitemap generators are either abandoned or don't have the necessary features available. So We need to roll our own sitemap generator, that supports both page and image links, but has to be extensible later on.