Extra greetings at the end of atom feed content

I noticed that some Atom feeds (like @starbreaker’s below) have a little bit of greeting text that appears at the end of the post content:

Is there a special XML element (<footer> or something) for this purpose, or do you just insert it at the end of the <content> block?

1 Like

Hi, @hmm.

I insert it at the end of the content block. If you were to grab the raw XML file, you’d see that block at the end of every <![CDATA[]]> block that contains the text of a given post.

If it helps, here’s the shell script I use to generate individual item blocks for my RSS feed.

https://git.sr.ht/~starbreaker/starbreaker.org/tree/main/item/process-rss.sh

@manuelmoreale does something different for his website’s feeds because he uses Kirby CMS.

2 Likes

I actually do exactly the same. I have an rss.php file I use to generate the entire feed and in there I have that custom footer added after the content of each post.

2 Likes