Product Launch
anonymous
4 points
4 comments
Posted3 months agoActive3 months ago
Show HN: Maudit, a Rust library to build static websites
maudit.orgRuststatic site generatorsweb development
Discussion (4 comments)
Showing 4 comments
This is a really cool idea, thanks for sharing it! Will check it out and try it out over the weekend.
One question before I dive in: If one wants to create a blog, how much is already provided by Maudit to make generating RSS feed easier? Or would I have to hand roll that part?
Ah! Thank you for taking interest.
At this time there's no built-in way to generate RSS feeds, you'd need to use a "Endpoint" route and return a .xml from it: https://maudit.org/docs/routing/#endpoints.
It's pretty straightforward, but it does require some manual work. Crates like `rss_gen` can help making the generation easier, though
Tried it out today. I really want to give you props for making it a library and not a framework. And also for including benchmarks in the repo. Good stuff.
Will try generating a feed when I get the chance/more time, thanks for the crate suggestion.
3 months ago
Thank you! Let me know if you have any questions or encounter any problems, always happy to help.