Ok, our Sitemap plugin is finished.
Anyway, we created this plugin because of a customer that needed a sitemap for Google News, and this trick didn’t work because they were using Amazon S3 to store their uploads (which broke the same domain requirement)
Your can find our plugin at https://github.com/discoursehosting/discourse-sitemap
It has been superceded with GitHub - discourse/discourse-sitemap: Generate XML sitemap for your Discourse forum.
Just enable it using the site setting in the Plugins menu, and you will get
Ideas for improvements:
- Caching the sitemap
- Have it use it’s own engine instead of monkey patching everything (please help me out)
- Including a XSLT to display it more nicely to humans (should be local due to same origin policy) so we should have a way to register an asset that is accessible as a separate file.
- Make it honor the 50,000 URL limit if there are that many topics
Let me know if you have any issues or ideas!