The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

2021 KSUID Site URL Structure Setup And Frontmatter Normalization

TODO: Pull subtitle into page object

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:

- Next.js URL Rewrites - Next.js Data Fetching - Next.js Page - Next.js Header

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

2021 KSUID Site URL Structure Setup And Frontmatter Normalization

-- p

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

-- p

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'],

-- p

]
    }
]

-- p

TODO: finish the checklist and output it here

-- p

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.

-- p

Links:

-- p

- <<link|Next.js URL Rewrites|https://nextjs.org/docs/api-reference/next.config.js/rewrites>>
- <<link|Next.js Data Fetching|https://nextjs.org/docs/basic-features/data-fetching>>
- <<link|Next.js Page|https://nextjs.org/docs/basic-features/pages>>
- <<link|Next.js Header|https://nextjs.org/docs/api-reference/next.config.js/headers>>


-- categories
-- Web Development

-- metadata
-- date: 2021-11-03 10:35:34
-- id: 20eodvcm
-- status: scratch
-- type: post
-- SCRUBBED_NEO: false
-- site: aws