▲ | chrismorgan 4 days ago | |||||||
One recommendation I’d make: replace RSS with Atom. Outside of podcasting, everything that supports RSS supports Atom, and Atom is just better, in various ways that actually matter for content correctness, and in this case in ways that make it easier to process. One of the ways that matters here: Atom <published> uses RFC 3339 date-time, rather than the mess that is RSS’s pubDate. As it stands, you’re generating an invalid JSON-LD datePublished. (If you then want to convert it into a format like “25 August 2025”, you’ll have to get much fancier with substringing and choosing, but it’s possible.) One of the nice things about Atom is that you can declare whether text constructs (e.g. title, content) are text (good if there’s to be no markup), HTML encoded as text (easiest for most blog pipelines), or HTML as XML (ideal for XSLT pipelines). | ||||||||
▲ | cxr 4 days ago | parent | next [-] | |||||||
> Outside of podcasting, everything that supports RSS supports Atom, and Atom is just better Is there something (besides (lack of) client support) that makes RSS better suited for podcasting? | ||||||||
| ||||||||
▲ | vgr-land 4 days ago | parent | prev [-] | |||||||
Thanks for the suggestion I’ll dig into this, admittedly I haven’t worked with Atom so I didn’t consider it A quick glance at Atom though says to me its worth an attempt to refactor. | ||||||||
|