The fifth version of chriskrycho.com, built in Eleventy.

Notes: fix typos in A Feed ‘Bug’ I Keep Tripping Over

Changed files
+2 -1
site
+2 -1
site/notes/2025/12/A Feed Bug I Keep Tripping Over.md
··· 3 3 subtitle: Or, one of the limitations of using version-controlled plain text as a content management system. 4 4 5 5 date: 2025-12-29T09:32:00-0700 6 + updated: 2025-12-29T09:51:00-0700 6 7 7 8 tags: 8 9 - software development ··· 18 19 19 20 The net was that the same blog post showed up for any of you reading along in feed readers or via email subscription, for which I apologize! 20 21 21 - The “bug” to which the title of this post refers is really a limitation of both the current implementation of my website and to a generally challenging design issue for website generators that use plain text files in a version controlled repository to build the site, rather than a more traditional <abbr title="content management system">CMS</abbr>. In a traditional <abbr>CMS</abbr>, most posts have a unique identifier living in a database—an identifier that is stable regardless of the title or slug of the post. In a well-behaved <abbr>CMS</abbr>’s feed generator that identifier (or one derived from it) is also the identifier for the feed item, which prevents this issue for showing up. 22 + The “bug” to which the title of this post refers is really both a limitation of the current implementation of my website and a generally challenging design issue for website generators that use plain text files in a version controlled repository to build the site, rather than a more traditional <abbr title="content management system">CMS</abbr>. In a traditional <abbr>CMS</abbr>, most posts have a unique identifier living in a database—an identifier that is stable regardless of the title or slug of the post. In a well-behaved <abbr>CMS</abbr>’s feed generator that identifier (or one derived from it) is also the identifier for the feed item, which prevents this issue from showing up. 22 23 23 24 With plain text files on disk as the source of truth, though, no such stable identifier exists, at least by default! This makes it much harder to avoid accidentally doing what I did when renaming a file. I can certainly think of process- or tool-based ways to do it, including making your site generator smart enough to handle everything involved with this kind of rename and only conducting renames using the site generator. (This is probably what I will do with the next version of my site, with a generator I have built from scratch for my own purposes.) With a “general-purpose” site generator like [the one I currently use][11ty], though, this is a pretty difficult problem to solve robustly. I “just” have to remember. 24 25