You must log in to comment.

in reply to @ysaie's post:

i noticed this rather late, but Firefox seems to strip some important details from that XML view, such as the top-level xmlns attribute that brings the Atom namespace into scope :/ make sure to look at the raw file!

you can crib off my playful test (not a real feed, will be removed later, say after 2024): https://kylieneko.neocities.org/firstfeed.xml (view source if browser just renders it as text blob)
seems most readers only like the "text", "html", and "xhtml" content types tho, many seem to ignore category tags completely, and a bunch of other weirdness.

another thing I thought of later was just play with Publii, even if you don't intend to use it, and see what it generates and crib from that.

If you're using Atom (and maybe with RSS?) you can do content type 'xhtml' and with a div that imports the namespace you don't need to escape anything, at the cost of having to be xhtml-y. (i.e. close the img tag, <img src="foo" />

<content type="xhtml">
    <div xmlns="http://www.w3.org/1999/xhtml">
        <img src="favicon.png" width="64" height="64" alt="Chibi Kylie sitting in front of a trans-ace-lesbian flag" />
        <p>Can't do any interesting styles like floating or anything, but you can (X)HTML it.</p>
    </div>
</content>