PSA: RSS and Atom XML Feeds Failure
PSA: RSS and Atom XML Feeds Failure
Hello dear readers. Earlier this week, if you noticed a lot of new (actually duplicate) entries in your feed reader from me—I apologize!
To fix it, mark all as read in your feed reader. If your feed reader didn’t fetch during the time I was messing with all of this, it might not have seen the wrong ID (then you’re fine!)
What Happened?
I should have triple checked before pushing the revised XML templates live, but I failed to pick up on one of the very specific date syntax errors in the Tag URI I used for the ID field (Atom) and GUID field (RSS). The feed ID is a unique string for each entry; with my mistake deployed (before I fixed ~10 min later), feed readers saw the two different IDs for each post and thinks they’re new posts. Hence, the duplication nightmare… 😥
There were a lot of inconsistencies in my Hugo XML templates, which was what triggered me to update all of them (a dangerous move!) I made the following changes:
- Added all the required fields according to the documentation for Atom and RSS feeds
- Clean up the Hugo logic to generate notices and the footer message
- Added an email reply link to the footer of every entry
- And the troublemaker: deciding to use Tag URIs for
<ID>/<GUID>instead of the permalink
The guide mentioned in the W3 Atom spec page was: How to make a good ID in Atom by Mark Pilgrim. I’m following the section, “Other ways to build valid Atom IDs: By entry creation date”.
The Exact Error
The validation check alerted me that my Tag URI’s date was in the wrong format. I had YYYYMMDD instead of either YYYY-MM-DD or YYYY:
Followed by the date at which this tag scheme was first used. Note that this is the date at which the tag scheme was minted, not the date of the specific entry or item. Format is YYYY-MM-DD with the month and day parts being optional.
My Tag URI is now: <id>tag:burgeonlab.com,2026:/posts/20260913212356</id>, with just the year as YYYY after the first comma.
Conclusion
I’ve learnt my lesson; but at a cost to my readers. I will not deploy any XML changes unless I’m 100% certain the feed is valid in at least two validators (if I ever dare touch it again 😅).
Thanks for bearing with my XML tinkering. Sorry again for my oversight.
—Naty
P.S. I want to thank Chris for his pointers and advice re: XML feeds.
Resources
Here are some pages I found useful when working with XML feeds.
- Atom Feed Specifications
- RSS Feed Specifications
- Tag URI Syntax Requirements
- W3 Validator
- RSS Board Validator (I prefer this one over W3’s)
- How do I add an image to an item in RSS 2.0? | Stack Overflow
- Atom compared to RSS 2.0 | Wikipedia
- Feeds | IndieWeb Wiki
- Feed Readers | IndieWeb Wiki (Shoutout to James who created a cool reader called Artemis!)


