Generating a Valid RSS Feed From Scratch in Stdlib Python

Generating a Valid RSS Feed From Scratch in Stdlib Python Every static site generator ships a feed plugin. Until yours doesn’t. Here’s what I found out writing a zero-dependency RSS 2.0 + Atom 1.0 generator for a directory of markdown posts — the field formats people get wrong, why PyYAML was the wrong dependency for a blog, and the parts of the spec that don’t matter. 📦 GitHub: https://github.com/sen-ltd/feedgen The problem nobody has a good answer for Most blog platforms hand you a feed for free. Hugo emits index.xml. Eleventy has a plugin. Jekyll ships one. Ghost, WordPress, Medium — done. Until you’re not on any of those. The cases I keep running into: A small team maintaining a company blog with hand-rolled static tooling — scripts, a template, a build step,…

Read more on DEV Community