Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

2021 KSUID Site URL Structure Setup And Frontmatter Normalization

The goal for the KSUID URL structure is so I can produce that contain unique IDs plus a descriptive slug based off the title which lets me change the title/slug without breaking link (thanks to automatic rewrites and redirects). TKTKTKTK Make a post about the KSUID setup

export const checklistData = [ { title: "Setup KSUID urls, rewrites, and redirects", items: [ [1, 'Make copy of posts in working directory with accurate birth time'], [0, 'Normalize ISO 8601 dates in all posts'], [0, 'Make a copy of the files using internal dates to overwrite "Oct. whatever" from copying in'], [0, 'Add KSUID as "id" field in frontmatter to all posts sorted by date'], [0, 'Add "updated" filed to frontmatter for all posts using same value as "date" if "updated" does not already exist'], [0, 'Add "category: Miscellaneous" to frontmatter for any post that does not have a category field'], [0, 'Add generic "blurb" field to any files that do not have one. Copy over description if it exists.'], [0, 'Make sure to pull in the full archive for the final run'], [0, 'Related: Make sure everything has a title'],

] } ]

TODO: finish the checklist and output it here

NOTE: There doesn't seem to be a way to add a specific date to the KSUID so that part won't be accurate but sorting by the post date will at least make the IDs sort in the proper order. That doesn't really matter, but since the date is involved, I want the sort to be accurate. This means I'll need to add at least a second between ID generation since that's the resolution KSUIDs work at.

Links: