switch to ATOM

Message ID
DKIM signature
Download raw message

I have noticed the description is escaped with sed to avoid errors in
case some html-reserved characters are present in the post.  However,
shinobi script let one write plain text.  It's a pity it has to be
converted in html then, wrapped in <pre> AND CDATA tags.

That's why I would suggest to switch to ATOM feed.

=> https://xml2rfc.tools.ietf.org/public/rfc/html/rfc4287.html Atom feed specs

Content and description can be plain text since atom let one specify
type "text".  That means you only need CDATA and the whole plain text is
correctly rendered.  You still have to escape CDATA ending "]]>", but
that was already true with RSS.

That's actually what I do with an awk script :

=> https://si3t.ch/code/atom.awk.tgz atom.awk

Following shinobi script, it is ocnfigured by editing the code, but awk
let one use "-v" flags if preffered.


Reply to thread Export thread (mbox)